Skip to content

DDC generated code is slow to start up in Safari #40380

@vsmenon

Description

@vsmenon

Initial startup of DDC apps is relatively slow in Safari, particularly for Flutter Web.

The root cause appears to be a perf bug / lack of optimization in Safari's JSC:

https://bugs.webkit.org/show_bug.cgi?id=199866

We may consider working around this in DDC by using var instead of let or const as suggested on the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-dev-compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions