Skip to content

🏎 Tracking: Dart2JS Perf+Code Size Improvements 🏎 #31328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 2 tasks
matanlurey opened this issue Nov 9, 2017 · 2 comments
Closed
1 of 2 tasks

🏎 Tracking: Dart2JS Perf+Code Size Improvements 🏎 #31328

matanlurey opened this issue Nov 9, 2017 · 2 comments

Comments

@matanlurey
Copy link
Contributor

matanlurey commented Nov 9, 2017

This is a tracking issue of all issues related to code size and runtime performance for AngularDart.

Assumptions

As it's possible to try to improve our output many ways, we'd like to focus on the following only:

  • Dart 2.0 semantics (we don't expect any fixes prior to Dart 2.0 and strong-mode types)
  • All applications use the following configuration:
    • --trust-type-annotations
    • --trust-primitives
  • All applications run with the following assumptions:
    • No use of noSuchMethod
    • No import to dart:mirrors or dart:isolate
    • We don't require .runtimeType for anything but debugging purposes
    • No intentional reliance on dynamic/duck typing (we'd consider it a bug in our code)

We're also intentionally not focusing on better/improved JS-interop here.

Issues

  • Use of runtimeType anywhere makes reified generics everywhere costlier (#31329)

Planned changes

Other changes planned by the Dart2JS team not specifically tied to one issue.

  • Remove all support for dart:mirrors and dart:isolate (#30538).
@matanlurey matanlurey changed the title 🏎 Tracking: AngularDart JS Perf+Code Size Improvements 🏎 🏎 Tracking: Dart2JS Perf+Code Size Improvements 🏎 Nov 9, 2017
@matanlurey
Copy link
Contributor Author

/cc @sigmundch

@matanlurey
Copy link
Contributor Author

Lets re-open this when I have more actionable items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant