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

Issue 2592793003: Ensure runtime call stats show up for microtasks (Closed)

Created:
4 years ago by jgruber
Modified:
3 years, 11 months ago
Reviewers:
lpy
CC:
v8-reviews_googlegroups.com, Camillo Bruni
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Ensure runtime call stats show up for microtasks Prior to this, traces recorded through chrome://tracing would not include time spent in RunMicrotasks. BUG=v8:5382 Review-Url: https://codereview.chromium.org/2592793003 Cr-Commit-Position: refs/heads/master@{#42316} Committed: https://chromium.googlesource.com/v8/v8/+/b26cba78152362c1853ed208f0711a879cb3e828

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove TRACE_EVENT0 #

Patch Set 3 : Revert "Remove TRACE_EVENT0" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M src/isolate.cc View 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
jgruber
To reproduce, trace a microtask-heavy workload such as https://schuay.github.io/streams-demo/. Prior to this CL, RunMicrotasks did ...
4 years ago (2016-12-21 14:51:46 UTC) #4
lpy
https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc#newcode3319 src/isolate.cc:3319: TRACE_EVENT_CALL_STATS_SCOPED(this, "v8", "V8.RunMicrotasks"); What if we remove TRACE_EVENT0 and ...
4 years ago (2016-12-22 00:38:47 UTC) #7
lpy
On 2016/12/22 00:38:47, lpy wrote: > https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc > File src/isolate.cc (right): > > https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc#newcode3319 > ...
4 years ago (2016-12-22 00:40:34 UTC) #8
jgruber
https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc#newcode3319 src/isolate.cc:3319: TRACE_EVENT_CALL_STATS_SCOPED(this, "v8", "V8.RunMicrotasks"); On 2016/12/22 00:38:46, lpy wrote: > ...
4 years ago (2016-12-22 09:33:28 UTC) #14
jgruber
On 2016/12/22 09:33:28, jgruber wrote: > https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc > File src/isolate.cc (right): > > https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc#newcode3319 > ...
4 years ago (2016-12-22 09:52:31 UTC) #15
jgruber
PTAL: I went back to the first patch set since the second one broke blink ...
3 years, 11 months ago (2017-01-09 08:28:32 UTC) #18
jgruber
On 2017/01/09 08:28:32, jgruber wrote: > PTAL: I went back to the first patch set ...
3 years, 11 months ago (2017-01-13 10:00:00 UTC) #21
lpy
On 2017/01/13 10:00:00, jgruber wrote: > On 2017/01/09 08:28:32, jgruber wrote: > > PTAL: I ...
3 years, 11 months ago (2017-01-13 10:13:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2592793003/40001
3 years, 11 months ago (2017-01-13 10:21:55 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/b26cba78152362c1853ed208f0711a879cb3e828
3 years, 11 months ago (2017-01-13 10:58:26 UTC) #27
alph
On 2016/12/22 09:52:31, jgruber wrote: > On 2016/12/22 09:33:28, jgruber wrote: > > https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc > ...
3 years, 11 months ago (2017-01-13 19:16:41 UTC) #28
jgruber
3 years, 11 months ago (2017-01-17 08:31:12 UTC) #29
Message was sent while issue was closed.
On 2017/01/13 19:16:41, alph wrote:
> On 2016/12/22 09:52:31, jgruber wrote:
> > On 2016/12/22 09:33:28, jgruber wrote:
> > > https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc
> > > File src/isolate.cc (right):
> > > 
> > >
https://codereview.chromium.org/2592793003/diff/1/src/isolate.cc#newcode3319
> > > src/isolate.cc:3319: TRACE_EVENT_CALL_STATS_SCOPED(this, "v8",
> > > "V8.RunMicrotasks");
> > > On 2016/12/22 00:38:46, lpy wrote:
> > > > What if we remove TRACE_EVENT0 and use "v8.execute" here?
> > > 
> > > Removed TRACE_EVENT0, but using "v8.execute" as the category breaks the
> > display
> > > in chrome://tracing so I kept "v8".
> > 
> > Seems like removing TRACE_EVENT0 breaks blink tests.
> 
> I'd rather fix blink than have two events here.

Agreed. The first test failure seems trivial, but I'm not sure why the second
failure [0]
has an undefined event in mainThreadedEvents. Kinda swamped at the moment, will
add to my backlog [1].

[0]
https://storage.googleapis.com/chromium-layout-test-archives/v8_linux_blink_r...
[1] https://bugs.chromium.org/p/v8/issues/detail?id=5850

Powered by Google App Engine
This is Rietveld 408576698