Skip to content

NSBundle bundleWithIdentifier causes slowdown when creating FlutterEngine #37826

Closed
flutter/engine
#39975
@xster

Description

@xster

The addition of traversing the bundles by searching for an identifier added in https://github.com/flutter/engine/pull/5986/files#diff-8e54aca7e9d4fd69a57fb86d6ec3dee2R36 adds a 100ms latency when instantiating a FlutterEngine (7ms -> 106ms on an iPod).

It's hard to figure out the original feature request from the PR. Can we revise the approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: performanceRelates to speed or footprint issues (see "perf:" labels)customer: chalk (g3)engineflutter/engine repository. See also e: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions