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

Issue 604193002: ServiceWorker: Add UMA to measure execution times of oninstall/onfetch (Closed)

Created:
6 years, 2 months ago by shimazu
Modified:
6 years, 2 months ago
Reviewers:
Mark P, nhiroki
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, asvitkine+watch_chromium.org, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Add UMA to measure execution times of oninstall/onfetch BUG=407997 TEST=N/A Committed: https://crrev.com/6b6ed6be7fb3516edec7b044d58aa3b718ca5bec Cr-Commit-Position: refs/heads/master@{#297352}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Move UMAs to renderer and measure only the execution time of JS #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -2 lines) Patch
M content/renderer/service_worker/service_worker_script_context.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 2 3 7 chunks +19 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
shimazu
mpearson@chromium.org: Please review changes in histograms.xml. nhiroki@chromium.org: Please review changes in the others (content/browser/service_worker/*).
6 years, 2 months ago (2014-09-26 04:37:12 UTC) #2
nhiroki
Thank you for working on this! As we chatted offline, measurement spans seem too wide ...
6 years, 2 months ago (2014-09-26 07:28:18 UTC) #3
Mark P
https://codereview.chromium.org/604193002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/604193002/diff/20001/tools/metrics/histograms/histograms.xml#newcode29347 tools/metrics/histograms/histograms.xml:29347: + Execution time of onfetch event. This is mainly ...
6 years, 2 months ago (2014-09-26 16:20:48 UTC) #4
shimazu
Move the place of measurement, and change the descriptions in histograms.xml. Could you review again? ...
6 years, 2 months ago (2014-09-29 08:15:47 UTC) #5
nhiroki
lgtm with a nit https://codereview.chromium.org/604193002/diff/40001/content/renderer/service_worker/service_worker_script_context.cc File content/renderer/service_worker/service_worker_script_context.cc (right): https://codereview.chromium.org/604193002/diff/40001/content/renderer/service_worker/service_worker_script_context.cc#newcode7 content/renderer/service_worker/service_worker_script_context.cc:7: #include <map> nit: can you ...
6 years, 2 months ago (2014-09-29 09:41:23 UTC) #6
Mark P
lgtm assuming the answer below is yes, lgtm https://codereview.chromium.org/604193002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/604193002/diff/40001/tools/metrics/histograms/histograms.xml#newcode29425 tools/metrics/histograms/histograms.xml:29425: + ...
6 years, 2 months ago (2014-09-29 18:00:36 UTC) #7
shimazu
Thanks for your reviews. I'll commit it. https://codereview.chromium.org/604193002/diff/40001/content/renderer/service_worker/service_worker_script_context.cc File content/renderer/service_worker/service_worker_script_context.cc (right): https://codereview.chromium.org/604193002/diff/40001/content/renderer/service_worker/service_worker_script_context.cc#newcode7 content/renderer/service_worker/service_worker_script_context.cc:7: #include <map> ...
6 years, 2 months ago (2014-09-30 01:31:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/604193002/60001
6 years, 2 months ago (2014-09-30 01:32:07 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001) as bb4479172385962f7c44c302fb2359ca3107a861
6 years, 2 months ago (2014-09-30 03:31:28 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 03:32:15 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6b6ed6be7fb3516edec7b044d58aa3b718ca5bec
Cr-Commit-Position: refs/heads/master@{#297352}

Powered by Google App Engine
This is Rietveld 408576698