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

Issue 2861053004: [subresource_filter] Add metrics for all NavigationThrottle delays (Closed)

Created:
3 years, 7 months ago by Charlie Harrison
Modified:
3 years, 7 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Add metrics for all NavigationThrottle delays These are more high level than the standard DocumentSubresourceFilter ones, and account for thread hops, task starvation, etc. BUG=609747 Review-Url: https://codereview.chromium.org/2861053004 Cr-Commit-Position: refs/heads/master@{#470927} Committed: https://chromium.googlesource.com/chromium/src/+/adbcf1feb08731127872db3b215e9c7742335647

Patch Set 1 #

Patch Set 2 : remove a call to base::TimeTicks::Now() #

Total comments: 6

Patch Set 3 : shivanisha review #

Total comments: 2

Patch Set 4 : microseconds #

Messages

Total messages: 31 (20 generated)
Charlie Harrison
shivanisha, rkaplow: PTAL?
3 years, 7 months ago (2017-05-05 15:55:58 UTC) #4
shivanisha
On 2017/05/05 at 15:55:58, csharrison wrote: > shivanisha, rkaplow: PTAL? lgtm % nits
3 years, 7 months ago (2017-05-05 18:43:24 UTC) #9
shivanisha
https://codereview.chromium.org/2861053004/diff/20001/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h File components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h (right): https://codereview.chromium.org/2861053004/diff/20001/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h#newcode50 components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h:50: base::TimeTicks last_defer_time_; nit: Rename to defer_start_timestamp_ to emphasize it ...
3 years, 7 months ago (2017-05-05 18:44:51 UTC) #10
Charlie Harrison
https://codereview.chromium.org/2861053004/diff/20001/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h File components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h (right): https://codereview.chromium.org/2861053004/diff/20001/components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h#newcode50 components/subresource_filter/content/browser/subframe_navigation_filtering_throttle.h:50: base::TimeTicks last_defer_time_; On 2017/05/05 18:44:50, shivanisha wrote: > nit: ...
3 years, 7 months ago (2017-05-05 18:56:07 UTC) #12
pkalinnikov
A drive-by comment. https://codereview.chromium.org/2861053004/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc (right): https://codereview.chromium.org/2861053004/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc#newcode109 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc:109: UMA_HISTOGRAM_TIMES("SubresourceFilter.DocumentLoad.ActivationComputingDelay", Do you expect it to ...
3 years, 7 months ago (2017-05-08 12:00:05 UTC) #17
Charlie Harrison
https://codereview.chromium.org/2861053004/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc File components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc (right): https://codereview.chromium.org/2861053004/diff/40001/components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc#newcode109 components/subresource_filter/content/browser/activation_state_computing_navigation_throttle.cc:109: UMA_HISTOGRAM_TIMES("SubresourceFilter.DocumentLoad.ActivationComputingDelay", On 2017/05/08 12:00:05, pkalinnikov wrote: > Do you ...
3 years, 7 months ago (2017-05-08 12:53:33 UTC) #18
rkaplow
lgtm histograms lg
3 years, 7 months ago (2017-05-10 14:43:53 UTC) #19
Charlie Harrison
Thanks! I've updated the histograms to be in microseconds in the 1us - 10s range ...
3 years, 7 months ago (2017-05-10 15:02:11 UTC) #20
pkalinnikov
LGTM.
3 years, 7 months ago (2017-05-11 08:55:26 UTC) #25
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/2861053004/60001
3 years, 7 months ago (2017-05-11 11:56:21 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 12:00:45 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/adbcf1feb08731127872db3b215e...

Powered by Google App Engine
This is Rietveld 408576698