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

Issue 1623583003: Add async tracing to SWVersion::AddRequest. (Closed)

Created:
4 years, 11 months ago by Marijn Kruisselbrink
Modified:
4 years, 11 months ago
Reviewers:
jkarlin, nhiroki
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, iclelland+watch_chromium.org, jam, jkarlin+watch_chromium.org, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+serviceworker, maxbogue+watch_chromium.org, michaeln, nhiroki, Peter Beverloo, plaree+watch_chromium.org, serviceworker-reviews, tim+watch_chromium.org, tzik, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add async tracing to SWVersion::AddRequest. Most events already traced finishing the request, this generalizes this to automatically trace the (browser side) duration of all events being dispatched. BUG=570820 Committed: https://crrev.com/0ff3b8833a882c297e798400e731f1977654e843 Cr-Commit-Position: refs/heads/master@{#371304}

Patch Set 1 #

Total comments: 2

Patch Set 2 : switch instead of array of strings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -4 lines) Patch
M content/browser/background_sync/background_sync_manager.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 5 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Marijn Kruisselbrink
4 years, 11 months ago (2016-01-23 00:02:26 UTC) #4
nhiroki
LGTM https://codereview.chromium.org/1623583003/diff/40001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1623583003/diff/40001/content/browser/service_worker/service_worker_metrics.cc#newcode66 content/browser/service_worker/service_worker_metrics.cc:66: return kEventTypeNames[event_type_as_int]; switch-case could be more self-contained. That ...
4 years, 11 months ago (2016-01-25 03:50:23 UTC) #5
Marijn Kruisselbrink
https://codereview.chromium.org/1623583003/diff/40001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1623583003/diff/40001/content/browser/service_worker/service_worker_metrics.cc#newcode66 content/browser/service_worker/service_worker_metrics.cc:66: return kEventTypeNames[event_type_as_int]; On 2016/01/25 at 03:50:23, nhiroki wrote: > ...
4 years, 11 months ago (2016-01-25 19:17:30 UTC) #6
Marijn Kruisselbrink
+jkarlin for background sync OWNERS
4 years, 11 months ago (2016-01-25 19:18:09 UTC) #8
jkarlin
background_sync/ lgtm
4 years, 11 months ago (2016-01-25 19:43:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1623583003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1623583003/60001
4 years, 11 months ago (2016-01-25 19:54:27 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 11 months ago (2016-01-25 20:42:13 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 20:43:58 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0ff3b8833a882c297e798400e731f1977654e843
Cr-Commit-Position: refs/heads/master@{#371304}

Powered by Google App Engine
This is Rietveld 408576698