Skip to content

[dart2js] Measure removal of interceptors #49314

Open

Description

@fishythefish

One area where we think the powerset domain will prove much more effective than typemasks is in removal of interceptors. We can validate this with an analysis similar to #49310:

  • Identify where we're able to replace intercepted calls with non-intercepted ones based on the inferred type of the receiver/target.
  • Measure how often we're currently able to perform this replacement.
  • Measure how often we would replace the call with just the static type + closed world (no typemasks).
  • Measure how often we would replace the call with the static type + closed world + powerset domain (no typemasks).

Activity

  1. added
    type-taskA well-defined stand-alone task
    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
    on Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.type-taskA well-defined stand-alone taskweb-dart2js

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions