Skip to content

benchmark mutex for platform message handlers #111489

@gaaclarke

Description

@gaaclarke

flutter/engine#35804 and flutter/engine#35804 introduced the ability for more threads to read from the code that is storing the platform message handlers (that are set on the ui thread). This is potentially a bottleneck if multiple isolates are sending messages at the same time. We should add a benchmark to see if it's worth transforming it to a read-write lock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: performanceRelates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions