commit | 71ec48333eb8785969a20903903585a39f29c9d7 | [log] [tgz] |
---|---|---|
author | Konstantin Shcheglov <scheglov@google.com> | Tue Jun 07 18:49:55 2016 -0700 |
committer | Konstantin Shcheglov <scheglov@google.com> | Tue Jun 07 18:49:55 2016 -0700 |
tree | 21b4755f792dd46ed4fca8d8509a061574512cb8 | |
parent | 1b9b3afbcc302b5eae655521c250a11c46c55baf [diff] |
Cache packageName to base Uri mapping. This makes analysis with using incremental analysis cache 30% faster. Without this change getBase() takes 40% (!) of total analysis time. With this change - just 0.79% of total time. Although the remaining 17% of PackagesBase.resolve() make my cry. Why URI manipulations are SO SLOW?! R=brianwilkerson@google.com, pquitslund@google.com, kevmoo@google.com BUG= Review URL: https://codereview.chromium.org/2041103005 .
Support for working with Package Resolution Configuration files as described in this DEP, under review [here] (https://github.com/dart-lang/dart_enhancement_proposals/issues/5).
Please file feature requests and bugs at the issue tracker.