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

Issue 2821253002: [ServiceWorker] Integrate trace events in embedded worker instance (Closed)

Created:
3 years, 8 months ago by leonhsl(Using Gerrit)
Modified:
3 years, 8 months ago
Reviewers:
shimazu
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ServiceWorker] Integrate trace events in embedded worker instance Currently all the TRACE_EVENT* do not manage well in embedded_worker_instance.cc, this CL integrates them to track duration for every step throughout one complete starting worker process. Also uses TRACE_EVENT_NESTABLE_ASYNC_* to replace deprecated TRACE_EVENT_ASYNC*. BUG=none Review-Url: https://codereview.chromium.org/2821253002 Cr-Commit-Position: refs/heads/master@{#466888} Committed: https://chromium.googlesource.com/chromium/src/+/b260308faa1908b0d5fa3dc35d2d0bce98ced514

Patch Set 1 #

Total comments: 6

Patch Set 2 : NESTABLE_ASYNC_INSTANT* --> NESTABLE_ASYNC_{BEGIN,END} #

Patch Set 3 : Rebase only #

Total comments: 1

Patch Set 4 : Track duration of every starting phase #

Total comments: 6

Patch Set 5 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -39 lines) Patch
M content/browser/service_worker/embedded_worker_instance.cc View 1 2 3 4 17 chunks +72 lines, -39 lines 0 comments Download

Messages

Total messages: 34 (23 generated)
leonhsl(Using Gerrit)
Hi, Shimazu-san, this CL is to follow-up your suggestion about integrating event logs in EmbeddedWorkerInstance, ...
3 years, 8 months ago (2017-04-19 03:43:43 UTC) #7
shimazu
Thanks for working on this! Basically this is what I've thought. > Hi, Shimazu-san, this ...
3 years, 8 months ago (2017-04-19 07:54:35 UTC) #8
leonhsl(Using Gerrit)
Thanks a lot for the knowledge sharing about chrome://tracing! I tested and also did not ...
3 years, 8 months ago (2017-04-19 10:40:23 UTC) #9
shimazu
> I tested and also did not find any NESTABLE_ASYNC_INSTANT output.. Actually I can see ...
3 years, 8 months ago (2017-04-20 04:51:47 UTC) #10
leonhsl(Using Gerrit)
ps#3 is using NESTABLE_ASYNC_{BEGIN,END} instead of NESTABLE_ASYNC_INSTANT, and I tried to confirm the effect but ...
3 years, 8 months ago (2017-04-21 02:46:29 UTC) #17
shimazu
> I tried to confirm the effect but seems it's still hard to read the ...
3 years, 8 months ago (2017-04-21 03:05:41 UTC) #18
leonhsl(Using Gerrit)
Hi, Shimazu-san, Thanks a lot for your great help! Thus we have ps#4 now, PTAnL. ...
3 years, 8 months ago (2017-04-24 08:23:58 UTC) #24
shimazu
Thanks! lgtm with nits. https://codereview.chromium.org/2821253002/diff/60001/content/browser/service_worker/embedded_worker_instance.cc File content/browser/service_worker/embedded_worker_instance.cc (right): https://codereview.chromium.org/2821253002/diff/60001/content/browser/service_worker/embedded_worker_instance.cc#newcode654 content/browser/service_worker/embedded_worker_instance.cc:654: // starting_phase_ may be SCRIPT_READ_FINISHED ...
3 years, 8 months ago (2017-04-25 01:34:51 UTC) #27
leonhsl(Using Gerrit)
https://codereview.chromium.org/2821253002/diff/60001/content/browser/service_worker/embedded_worker_instance.cc File content/browser/service_worker/embedded_worker_instance.cc (right): https://codereview.chromium.org/2821253002/diff/60001/content/browser/service_worker/embedded_worker_instance.cc#newcode654 content/browser/service_worker/embedded_worker_instance.cc:654: // starting_phase_ may be SCRIPT_READ_FINISHED in case of reading ...
3 years, 8 months ago (2017-04-25 02:34:07 UTC) #28
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/2821253002/80001
3 years, 8 months ago (2017-04-25 02:34:40 UTC) #31
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 05:28:18 UTC) #34
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b260308faa1908b0d5fa3dc35d2d...

Powered by Google App Engine
This is Rietveld 408576698