Skip to content

Remove performance.mark and performance.measure etc. from Dart-flute-wasm code #95

@Constellation

Description

@Constellation

It seems that many performance.mark performance.measure etc. are emitted in Dart-flute-wasm. They are emitted from Dart wasm code like,

      _182: () => globalThis.JSON,
      _183: x0 => x0.measure,
      _184: x0 => x0.mark,
      _185: x0 => x0.clearMeasures,
      _186: x0 => x0.clearMarks,
      _188: (x0,x1,x2,x3) => x0.measure(x1,x2,x3),
      _190: (x0,x1,x2) => x0.mark(x1,x2),
      _191: x0 => x0.clearMeasures(),
      _193: x0 => x0.clearMarks(),
      _195: (x0,x1) => x0.parse(x1),

But we do not want to have a situation like, "To improve Dart-flute-wasm score, optimize performance.mark code path!". So I would like to suggest removing these performance entry emission from Dart-flute-wasm code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions