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

Issue 2060433003: Optimize paths comparision in source closure sorting. (Closed)

Created:
4 years, 6 months ago by scheglov
Modified:
4 years, 6 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimize paths comparision in source closure sorting. This makes incremental analysis 13% faster. Paths comparision time falls from 12.9% to 3.2%. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/8b2d313300e79af02809f2c0da78aa8498951e80

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -1 line) Patch
M pkg/analyzer/lib/src/summary/incremental_cache.dart View 2 chunks +32 lines, -1 line 2 comments Download
M pkg/analyzer/test/src/summary/incremental_cache_test.dart View 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
4 years, 6 months ago (2016-06-10 21:10:52 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/2060433003/diff/1/pkg/analyzer/lib/src/summary/incremental_cache.dart File pkg/analyzer/lib/src/summary/incremental_cache.dart (right): https://codereview.chromium.org/2060433003/diff/1/pkg/analyzer/lib/src/summary/incremental_cache.dart#newcode47 pkg/analyzer/lib/src/summary/incremental_cache.dart:47: if (thisLength < otherLength) { Couldn't these length ...
4 years, 6 months ago (2016-06-10 21:19:13 UTC) #2
Brian Wilkerson
https://codereview.chromium.org/2060433003/diff/1/pkg/analyzer/lib/src/summary/incremental_cache.dart File pkg/analyzer/lib/src/summary/incremental_cache.dart (right): https://codereview.chromium.org/2060433003/diff/1/pkg/analyzer/lib/src/summary/incremental_cache.dart#newcode47 pkg/analyzer/lib/src/summary/incremental_cache.dart:47: if (thisLength < otherLength) { Nevermind, I realized why ...
4 years, 6 months ago (2016-06-10 21:20:11 UTC) #3
scheglov
4 years, 6 months ago (2016-06-10 21:26:45 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
8b2d313300e79af02809f2c0da78aa8498951e80 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698