Skip to content

Performance of some dart2js array store operations. #38705

@lrhn

Description

@lrhn

See https://stackoverflow.com/questions/58211830/performance-of-dart-code-in-browser-vs-vm/

There seems to be a case here where dart2js generates a very large overhead due to slow array-store operations. Since the majority of the code is array updates, that causes an orders of magnitude slowdown over optimal code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.dart2js-optimizationweb-dart2js

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions