Skip to content

Eviction of assets during hot reload is serial #17981

@tvolkert

Description

@tvolkert

for (String assetPath in device.devFS.assetPathsToEvict)
await device.views.first.uiIsolate.flutterEvictAsset(assetPath);

We should be sending on vm service message that evicts all the assets at once, as opposed to sending serial messages to evict each asset one at a time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: performanceRelates to speed or footprint issues (see "perf:" labels)toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions