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

Issue 2966073003: Long tasks: add a trace event for long tasks (Closed)

Created:
3 years, 5 months ago by Liquan (Max) Gu
Modified:
3 years, 5 months ago
CC:
chromium-reviews, panicker+watch_chromium.org, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Long tasks: add a trace event for long tasks Add a trace event for long task entries, so this can be better surfaced in devtools, traceviewer etc. BUG=738752 Review-Url: https://codereview.chromium.org/2966073003 Cr-Commit-Position: refs/heads/master@{#486885} Committed: https://chromium.googlesource.com/chromium/src/+/26a60c2908155fcba28a21b1065d21adbc39a1c6

Patch Set 1 #

Patch Set 2 : move long task event out of performance module #

Patch Set 3 : remove unrelated files #

Total comments: 3

Patch Set 4 : change to use event instant #

Patch Set 5 : rebase #

Patch Set 6 : use duration instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M third_party/WebKit/Source/core/timing/Performance.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc View 1 2 3 4 5 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 45 (19 generated)
Liquan (Max) Gu
Which information do we need to log to the events?
3 years, 5 months ago (2017-07-04 20:23:45 UTC) #4
tdresser
+paulirish@, for what devtools folks would want to surface here.
3 years, 5 months ago (2017-07-04 20:37:59 UTC) #6
tdresser
Eventually, I'd like to see tests for all trace points which devtools is going to ...
3 years, 5 months ago (2017-07-04 20:41:20 UTC) #7
Liquan (Max) Gu
+caseq Since Shuhbie said long task trace events should be created regardless of subscription. I've ...
3 years, 5 months ago (2017-07-07 17:49:19 UTC) #9
tdresser
Looks like you added a few files accidentally. Other than that, LGTM.
3 years, 5 months ago (2017-07-07 17:51:31 UTC) #10
Liquan (Max) Gu
+altimin Please take a look at task_queue_manager. I am adding a trace event there. Thanks!
3 years, 5 months ago (2017-07-07 18:04:39 UTC) #12
Liquan (Max) Gu
+dtapuska for Performance.cpp. Because I created another threshold in task_queue_manager, I am wondering whether I ...
3 years, 5 months ago (2017-07-07 18:11:16 UTC) #14
dtapuska
On 2017/07/07 18:11:16, Liquan (Max) Gu wrote: > +dtapuska for Performance.cpp. Because I created another ...
3 years, 5 months ago (2017-07-07 18:19:16 UTC) #15
altimin
+primiano@ as a tracing owner. scheduler lgtm, but please get lgtm from primiano@ before submitting. ...
3 years, 5 months ago (2017-07-07 18:24:17 UTC) #17
caseq
https://codereview.chromium.org/2966073003/diff/40001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/2966073003/diff/40001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc#newcode557 third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:557: TRACE_EVENT2("blink", "LongTask", "start_time", task_start_time, "end_time", On 2017/07/07 18:24:17, altimin ...
3 years, 5 months ago (2017-07-07 18:54:44 UTC) #18
Primiano Tucci (use gerrit)
On 2017/07/07 18:54:44, caseq wrote: > https://codereview.chromium.org/2966073003/diff/40001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc > File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc > (right): > > https://codereview.chromium.org/2966073003/diff/40001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc#newcode557 ...
3 years, 5 months ago (2017-07-07 18:59:29 UTC) #19
Liquan (Max) Gu
https://codereview.chromium.org/2966073003/diff/40001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/2966073003/diff/40001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc#newcode557 third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:557: TRACE_EVENT2("blink", "LongTask", "start_time", task_start_time, "end_time", On 2017/07/07 18:54:44, caseq ...
3 years, 5 months ago (2017-07-07 20:01:25 UTC) #20
caseq
On 2017/07/07 20:01:25, Liquan (Max) Gu wrote: > https://codereview.chromium.org/2966073003/diff/40001/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc > File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc > (right): > ...
3 years, 5 months ago (2017-07-07 21:01:54 UTC) #21
panicker
On 2017/07/07 21:01:54, caseq wrote: > On 2017/07/07 20:01:25, Liquan (Max) Gu wrote: > > ...
3 years, 5 months ago (2017-07-11 21:17:55 UTC) #22
panicker
lgtm
3 years, 5 months ago (2017-07-11 21:18:04 UTC) #23
caseq
On 2017/07/11 21:17:55, panicker wrote: > It's useful to have have a quick and easy ...
3 years, 5 months ago (2017-07-11 21:19:27 UTC) #24
panicker
On 2017/07/11 21:19:27, caseq wrote: > On 2017/07/11 21:17:55, panicker wrote: > > > It's ...
3 years, 5 months ago (2017-07-11 21:21:21 UTC) #25
panicker
+fmeawad suggested adding async event for the fill time slice, that would be easier to ...
3 years, 5 months ago (2017-07-11 21:31:00 UTC) #27
fmeawad
On 2017/07/11 21:31:00, panicker wrote: > +fmeawad suggested adding async event for the fill time ...
3 years, 5 months ago (2017-07-11 22:06:06 UTC) #28
Liquan (Max) Gu
On 2017/07/11 22:06:06, fmeawad wrote: > On 2017/07/11 21:31:00, panicker wrote: > > +fmeawad suggested ...
3 years, 5 months ago (2017-07-12 21:04:15 UTC) #29
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/2966073003/60001
3 years, 5 months ago (2017-07-14 15:37:44 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/258675)
3 years, 5 months ago (2017-07-14 15:40:34 UTC) #34
Primiano Tucci (use gerrit)
FWIW TRACE_EVENT_INSTANT2 in the current PS4 LGTM (not an owner of anything it's touching now ...
3 years, 5 months ago (2017-07-14 15:43:31 UTC) #35
Liquan (Max) Gu
I've changed to use duration as arg instead. It's because start_time and end_time were not ...
3 years, 5 months ago (2017-07-14 19:19:05 UTC) #38
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/2966073003/120001
3 years, 5 months ago (2017-07-14 19:20:51 UTC) #42
commit-bot: I haz the power
3 years, 5 months ago (2017-07-14 21:05:07 UTC) #45
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/26a60c2908155fcba28a21b1065d...

Powered by Google App Engine
This is Rietveld 408576698