Chromium Code Reviews
DescriptionManage 'libraries containing part' in DartWorkManager.
It is on the couple critical paths:
1. getErrors()
2. SearchEngine.
The SearchEngine is used in both search itself and by completion.
Without this change search has n^2 complexity, where `n` is the number of targets.
Statistics for search shows more than 10x performance improvement.
Before: 70 ms (analyzer), 230 ms (analyzer + dart2js).
After: 6 ms (analyzer), 17 ms (analyzer + dart2js).
R=brianwilkerson@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/224734d4e41400d256ac0106302674351aa37bd9
Patch Set 1 #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||