Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Issue 1443173004: Optimize work with absolute paths. (Closed)

Created:
5 years, 1 month ago by scheglov
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimize work with absolute paths. This significantly improves MDL project analysis time. Cold VM: 24600 ms -> 21586 ms, about 14% faster. Hot VM: 13100 ms -> 10080 ms, about 30% faster. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/b45f941d1e401b17b81f0db92bc63c9db73dc3df

Patch Set 1 #

Total comments: 18

Patch Set 2 : Updates for review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -19 lines) Patch
M pkg/analysis_server/lib/src/context_manager.dart View 1 14 chunks +43 lines, -19 lines 0 comments Download
A pkg/analyzer/lib/src/util/absolute_path.dart View 1 1 chunk +80 lines, -0 lines 0 comments Download
A pkg/analyzer/test/src/util/absolute_path_test.dart View 1 1 chunk +96 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/util/test_all.dart View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scheglov
5 years, 1 month ago (2015-11-14 11:24:28 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/1443173004/diff/1/pkg/analyzer/lib/src/util/absolute_path.dart File pkg/analyzer/lib/src/util/absolute_path.dart (right): https://codereview.chromium.org/1443173004/diff/1/pkg/analyzer/lib/src/util/absolute_path.dart#newcode5 pkg/analyzer/lib/src/util/absolute_path.dart:5: library engine.utilities.absolute_path; The library name should be "analyzer.src.util.absolute_path". ...
5 years, 1 month ago (2015-11-14 17:30:25 UTC) #2
scheglov
Thanks! https://codereview.chromium.org/1443173004/diff/1/pkg/analyzer/lib/src/util/absolute_path.dart File pkg/analyzer/lib/src/util/absolute_path.dart (right): https://codereview.chromium.org/1443173004/diff/1/pkg/analyzer/lib/src/util/absolute_path.dart#newcode5 pkg/analyzer/lib/src/util/absolute_path.dart:5: library engine.utilities.absolute_path; On 2015/11/14 17:30:25, Brian Wilkerson wrote: ...
5 years, 1 month ago (2015-11-14 22:40:13 UTC) #3
scheglov
5 years, 1 month ago (2015-11-14 22:40:53 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b45f941d1e401b17b81f0db92bc63c9db73dc3df (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698