Skip to content

Analyzer cold performance (performance) #33039

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

Open
Hixie opened this issue May 3, 2018 · 0 comments
Open

Analyzer cold performance (performance) #33039

Hixie opened this issue May 3, 2018 · 0 comments
Labels
analyzer-stability area-dart-model For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer. model-performance Performance/memory issues in analyzer/cfe P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug type-performance Issue relates to performance or code size

Comments

@Hixie
Copy link
Contributor

Hixie commented May 3, 2018

When you first start working on a project, the analyzer takes a long time to get started. This manifests as slow bots, long wait times when teaching someone something new, and generally results in a poor first impression of analyzer performance.

A representative benchmark for this is the analyzer_benchmark flutter_repo_watch number on Flutter's performance dashboard. Currently, it takes over 70s to do a cold analysis of Flutter.

To reproduce this, delete the analyzer cache, check out the Flutter framework, then run flutter analyze --flutter-repo --watch --benchmark.

@bwilkerson bwilkerson added legacy-area-analyzer Use area-devexp instead. type-performance Issue relates to performance or code size P2 A bug or feature request we're likely to work on labels May 6, 2018
@Hixie Hixie changed the title Analyzer cold performance Analyzer cold performance (performance) Jun 26, 2018
@srawlins srawlins added the type-enhancement A request for a change that isn't a bug label Nov 16, 2021
@johnniwinther johnniwinther added area-dart-model For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer. model-performance Performance/memory issues in analyzer/cfe and removed legacy-area-analyzer Use area-devexp instead. labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-stability area-dart-model For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer. model-performance Performance/memory issues in analyzer/cfe P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug type-performance Issue relates to performance or code size
Projects
None yet
Development

No branches or pull requests

4 participants