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

Issue 790413004: Implement AggregatableHistogramTimer and use it to measure how much time (Closed)

Created:
5 years, 11 months ago by vogelheim
Modified:
5 years, 11 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Implement AggregatableHistogramTimer and use it to measure how much time of running a script is really spent in compilation. That is, sum up the total time spent compiling (parsing + compile proper) within a run call as seen through the API. @jochen: So many questions: - Is it ok to re-use V8.CompileLazy? This measures something a little different. - clang-format does funny things to the huge macro definitions. I accepted clang-format changes for all code, but reverted for the #define orgies in counters.h. ok? - Am I measuring the right thing. That is, are Aggregat[ing|ed]TimerScope in the right place? I'll fiddle a bit more with this to see if it does the right thing. Would be happy if you could still review now-ish. BUG= Committed: https://crrev.com/6f9d60cc6f78467ebc44300213c07dc21832d10b Cr-Commit-Position: refs/heads/master@{#26226}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix silly typo. #

Patch Set 3 : Make windows compiler happy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -0 lines) Patch
M src/api.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/counters.h View 1 2 6 chunks +80 lines, -0 lines 0 comments Download
M src/counters.cc View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
vogelheim
5 years, 11 months ago (2015-01-21 14:33:00 UTC) #2
Yang
https://codereview.chromium.org/790413004/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/790413004/diff/1/src/compiler.cc#newcode943 src/compiler.cc:943: AggregatedHistogramTimerScope timer(isolate->counters()->compile_lazy()); This may be re-entrant. When we compile ...
5 years, 11 months ago (2015-01-21 14:40:40 UTC) #4
vogelheim
On 2015/01/21 14:40:40, Yang wrote: > https://codereview.chromium.org/790413004/diff/1/src/compiler.cc > File src/compiler.cc (right): > > https://codereview.chromium.org/790413004/diff/1/src/compiler.cc#newcode943 > ...
5 years, 11 months ago (2015-01-21 14:59:55 UTC) #5
Yang
On 2015/01/21 14:59:55, vogelheim wrote: > On 2015/01/21 14:40:40, Yang wrote: > > https://codereview.chromium.org/790413004/diff/1/src/compiler.cc > ...
5 years, 11 months ago (2015-01-21 15:17:32 UTC) #6
jochen (gone - plz use gerrit)
lgtm any more comments from you, Yang?
5 years, 11 months ago (2015-01-22 16:15:03 UTC) #7
Yang
On 2015/01/22 16:15:03, jochen (slow) wrote: > lgtm > > any more comments from you, ...
5 years, 11 months ago (2015-01-22 16:17:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/790413004/40001
5 years, 11 months ago (2015-01-22 17:37:15 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-22 18:38:28 UTC) #11
commit-bot: I haz the power
5 years, 11 months ago (2015-01-22 18:38:46 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6f9d60cc6f78467ebc44300213c07dc21832d10b
Cr-Commit-Position: refs/heads/master@{#26226}

Powered by Google App Engine
This is Rietveld 408576698