New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 721512 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Subresource filter: Add trace events to ease in debugging / performance measurements

Project Member Reported by csharrison@chromium.org, May 11 2017

Issue description

Title says it all. I'm planning on starting with Configuration / Activation. For more information about tracing, see documentation in trace_event_common:
https://cs.chromium.org/chromium/src/base/trace_event/common/trace_event_common.h
 
Labels: -Restrict-View-Google
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e7912e820fd868a331d7e512a3353806dfe5a3b2

commit e7912e820fd868a331d7e512a3353806dfe5a3b2
Author: Charles Harrison <csharrison@chromium.org>
Date: Sat Aug 19 03:37:39 2017

[subresource_filter] Add traces/UMA around ruleset verification

Not only will the UMA give us latency numbers, but it will ensure
that we aren't mapping in the ruleset when we shouldn't be.

Bug: 721512
Change-Id: I705bfccc69b7b7da582532338d625641b399f705
Reviewed-on: https://chromium-review.googlesource.com/546137
Commit-Queue: Charlie Harrison <csharrison@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Cr-Commit-Position: refs/heads/master@{#495796}
[modify] https://crrev.com/e7912e820fd868a331d7e512a3353806dfe5a3b2/components/subresource_filter/content/browser/verified_ruleset_dealer.cc
[modify] https://crrev.com/e7912e820fd868a331d7e512a3353806dfe5a3b2/components/subresource_filter/core/common/indexed_ruleset.cc
[modify] https://crrev.com/e7912e820fd868a331d7e512a3353806dfe5a3b2/tools/metrics/histograms/histograms.xml

Cc: csharrison@chromium.org
Components: UI>Browser>AdFilter
Labels: Hotlist-GoodFirstBug
Owner: ----
Status: Available (was: Started)
Cc: ericrobinson@chromium.org
Some places where it would be good to add traces:
- The AsyncDocumentSubresourceFilter
- Interesting RulesetService methods
- Matched rules (maybe)

+ericrobinson, this is an easy one if you're interested.
Description: Show this description
Project Member

Comment 10 by bugdroid1@chromium.org, Jun 25 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/47d5537ba10dd8b11c1402ac3e451940b5035724

commit 47d5537ba10dd8b11c1402ac3e451940b5035724
Author: John Delaney <johnidel@chromium.org>
Date: Mon Jun 25 23:17:00 2018

Add trace events to RulesetService

Add trace of prefs format and content version at RulesetService
creation. Add trace of invalid Indexed Ruleset file read.

Bug: 721512
Change-Id: I6809a2cccb8903889b74e64a8c08788ff3c8422a
Reviewed-on: https://chromium-review.googlesource.com/1108242
Reviewed-by: Charlie Harrison <csharrison@chromium.org>
Commit-Queue: John Delaney <johnidel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570227}
[modify] https://crrev.com/47d5537ba10dd8b11c1402ac3e451940b5035724/components/subresource_filter/content/browser/verified_ruleset_dealer.cc
[modify] https://crrev.com/47d5537ba10dd8b11c1402ac3e451940b5035724/components/subresource_filter/core/browser/ruleset_service.cc
[modify] https://crrev.com/47d5537ba10dd8b11c1402ac3e451940b5035724/components/subresource_filter/core/browser/ruleset_service.h

Project Member

Comment 11 by bugdroid1@chromium.org, Jul 9

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d0855ce5d8e550e243803522771e4c7ed5aec81a

commit d0855ce5d8e550e243803522771e4c7ed5aec81a
Author: Charlie Harrison <csharrison@chromium.org>
Date: Mon Jul 09 18:52:39 2018

Trace validity + size during ruleset verification

TBR=jkarlin@chromium.org

Bug: 721512
Change-Id: Ia9d793aae153328d6ec7602f056017a3a6a93928
Reviewed-on: https://chromium-review.googlesource.com/1129325
Commit-Queue: Charlie Harrison <csharrison@chromium.org>
Reviewed-by: Charlie Harrison <csharrison@chromium.org>
Cr-Commit-Position: refs/heads/master@{#573391}
[modify] https://crrev.com/d0855ce5d8e550e243803522771e4c7ed5aec81a/components/subresource_filter/core/common/indexed_ruleset.cc

Sign in to add a comment