Skip to content

Restarting the app with flutter run after making some changes to the source is quite slow. #107183

@aam

Description

@aam

The culprit is the fact that compiler runs without --initialize-from-dill and --incremental options, therefore can't reuse previously created dill file.

On a sample app passing both of those options to the compiler results in dropping build time from ~10s to ~2s.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: buildBuilding flutter applications with the tooltoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    Status

    Future bugs/improvements

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions