DescriptionSpeed up directory listing in pub.
Now that the Dart core sources are provided to barback, we walk the sdk's lib directory. In the built SDK, that isn't too bad, but in the source repo, that includes all of the sources for dart2js and pub, including pub's tests.
This means running pub's tests is noticeably slower. Even outside of the repo, the source map change bumped up startup time by about half a second.
This helps that, along with any other place that lists a directory.
R=nweiz@google.com
Committed: https://code.google.com/p/dart/source/detail?r=34401
Patch Set 1 #
Total comments: 8
Patch Set 2 : Revise. #
Messages
Total messages: 6 (0 generated)
|