Skip to content

[analyzer] Support assigning more resources/higher priority to the dart analyzer. #62998

@modulovalue

Description

@modulovalue

On a machine with e.g. an M5 Pro/Max chip, there are 18 cores available. The machine I'm working on has 64 gigs of RAM and I've observed the analyzer to only utilize at most 5 cores and 10 gigs of RAM.

I'd love to be able to configure a preference, that is, a hint to the Dart analyzer, that makes it use RAM and CPU cores more liberally.

Oftentimes analysis takes 10+ seconds to reach a fixpoint and while the performance issues are known and being worked on AFAIK, perhaps it might be possible to alleviate the performance issues for some users by simply adding support for assigning the analyzer more compute and more RAM?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.type-performanceIssue relates to performance or code size

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions