-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.model-performancePerformance/memory issues in analyzer/cfePerformance/memory issues in analyzer/cfetype-performanceIssue relates to performance or code sizeIssue relates to performance or code size
Description
The analyzer parses each file up to three times, and this parsing shows up in the performance profile as a not insignificant part of the total time. There are a couple of things we could investigate that might improve the overall performance of the analyzer.
-
Caching the parsed AST until the analysis is complete so that we only need to parse each file one time.
-
Having a mode in the parser where it would skip function bodies (when all of the opening and closing braces are balanced, otherwise skipping the bodies might impact recovery).
-
Other general improvements to the performance of the parser.
Metadata
Metadata
Assignees
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.model-performancePerformance/memory issues in analyzer/cfePerformance/memory issues in analyzer/cfetype-performanceIssue relates to performance or code sizeIssue relates to performance or code size