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

Issue 2569693002: Introduce performance measurement varitation parameter for SubresourceFilter. (Closed)

Created:
4 years ago by pkalinnikov
Modified:
4 years ago
Reviewers:
engedy
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce performance measurement varitation parameter for SubresourceFilter. The parameter defines a fraction of page loads that should have extended performance measurements enabled. ContentSubresourceFilterDriverFactory uses it for each main-frame navigation as a probability for enabling |measure_performance|, which then gets distributed to all DocumentSubresourceFilter's corresponding to (sub-)frames of the page. If the variation parameter is not present or malformed, the extended performance measurement is switched off. BUG=672519 Committed: https://crrev.com/3b758a270a56b34f25f73bee8130a5f6ec816d6e Cr-Commit-Position: refs/heads/master@{#438543}

Patch Set 1 #

Patch Set 2 : Change include. #

Total comments: 12

Patch Set 3 : Address comments from engedy@, refactor. #

Patch Set 4 : Cleanup. #

Patch Set 5 : Clip measurement rate to [0,1]. #

Messages

Total messages: 22 (13 generated)
pkalinnikov
Balazs, PTAL. Questions: 1. Are we fine with random sampling, or a more predictable scheme ...
4 years ago (2016-12-12 14:40:52 UTC) #2
engedy
> 1. Are we fine with random sampling, or a more predictable scheme (e.g., take ...
4 years ago (2016-12-12 15:31:23 UTC) #3
engedy
LGTM % comments and adding some more information to the CL desciption. https://codereview.chromium.org/2569693002/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc ...
4 years ago (2016-12-12 15:32:36 UTC) #4
pkalinnikov
PTAL again. https://codereview.chromium.org/2569693002/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc File components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc (right): https://codereview.chromium.org/2569693002/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc#newcode168 components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc:168: activation_state_ = ActivationState::DISABLED; On 2016/12/12 15:32:36, engedy ...
4 years ago (2016-12-12 18:47:29 UTC) #5
engedy
On 2016/12/12 18:47:29, pkalinnikov wrote: > PTAL again. > > https://codereview.chromium.org/2569693002/diff/20001/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc > File > components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc ...
4 years ago (2016-12-14 17:39:39 UTC) #14
engedy
LGTM, thanks!
4 years ago (2016-12-14 17:39:58 UTC) #15
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/2569693002/80001
4 years ago (2016-12-14 17:41:52 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-14 18:36:13 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-14 18:37:43 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3b758a270a56b34f25f73bee8130a5f6ec816d6e
Cr-Commit-Position: refs/heads/master@{#438543}

Powered by Google App Engine
This is Rietveld 408576698