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

Issue 151143003: Improve CodeRegionTable build time by 30x (Closed)

Created:
6 years, 10 months ago by Cutch
Modified:
6 years, 10 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Switch from linear search for code region to binary search. Add a SampleVisitor for iterating over SampleBuffer. Move stack walking class out of header into source file. Processing 6.5 million stack frames went from 28 seconds to 741 millis. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=32809

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 21

Patch Set 5 : #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -283 lines) Patch
M runtime/vm/isolate.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 1 chunk +5 lines, -5 lines 4 comments Download
M runtime/vm/profiler.h View 1 2 3 4 5 chunks +33 lines, -43 lines 2 comments Download
M runtime/vm/profiler.cc View 1 2 3 4 16 chunks +372 lines, -234 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
Cutch
6 years, 10 months ago (2014-02-07 19:23:17 UTC) #1
Cutch
PTAL
6 years, 10 months ago (2014-02-11 21:53:13 UTC) #2
siva
https://codereview.chromium.org/151143003/diff/80001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/151143003/diff/80001/runtime/vm/profiler.cc#newcode210 runtime/vm/profiler.cc:210: return a || b || c || d; There ...
6 years, 10 months ago (2014-02-12 00:58:52 UTC) #3
Cutch
https://codereview.chromium.org/151143003/diff/80001/runtime/vm/profiler.cc File runtime/vm/profiler.cc (right): https://codereview.chromium.org/151143003/diff/80001/runtime/vm/profiler.cc#newcode210 runtime/vm/profiler.cc:210: return a || b || c || d; On ...
6 years, 10 months ago (2014-02-13 23:13:18 UTC) #4
siva
lgtm https://codereview.chromium.org/151143003/diff/130001/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/151143003/diff/130001/runtime/vm/isolate.cc#newcode484 runtime/vm/isolate.cc:484: if (stack_lower == static_cast<uword>(~0)) { should this be ...
6 years, 10 months ago (2014-02-19 18:09:54 UTC) #5
Cutch
I may follow this up with a second CL which adds a timer to the ...
6 years, 10 months ago (2014-02-19 18:20:31 UTC) #6
Cutch
Committed patchset #5 manually as r32809 (presubmit successful).
6 years, 10 months ago (2014-02-19 19:15:23 UTC) #7
Bill Hesse
On 2014/02/19 19:15:23, Cutch wrote: > Committed patchset #5 manually as r32809 (presubmit successful). I'm ...
6 years, 10 months ago (2014-02-20 16:08:03 UTC) #8
Bill Hesse
6 years, 10 months ago (2014-02-20 16:13:18 UTC) #9
Message was sent while issue was closed.
On 2014/02/20 16:08:03, Bill Hesse wrote:
> On 2014/02/19 19:15:23, Cutch wrote:
> > Committed patchset #5 manually as r32809 (presubmit successful).
> 
> I'm suspicious that this CL broke the ARM and MIPS vm tests.

Oops - nevermind.  It looks like a docgen problem.

Powered by Google App Engine
This is Rietveld 408576698