Commit 9aa4f709 authored by vadimt's avatar vadimt Committed by Commit bot

Adding tracking to verify the theory that jankiness of...

Adding tracking to verify the theory that jankiness of ExtensionMessageFilter::OnExtensionAddListener is because of rebuilding matchers.

BUG=417106

Review URL: https://codereview.chromium.org/597413004

Cr-Commit-Position: refs/heads/master@{#296945}
parent 24ce55da
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <iterator> #include <iterator>
#include "base/logging.h" #include "base/logging.h"
#include "base/profiler/scoped_profile.h"
#include "url/gurl.h" #include "url/gurl.h"
#include "url/url_canon.h" #include "url/url_canon.h"
...@@ -1081,6 +1082,10 @@ void URLMatcher::UpdateConditionFactory() { ...@@ -1081,6 +1082,10 @@ void URLMatcher::UpdateConditionFactory() {
} }
void URLMatcher::UpdateInternalDatastructures() { void URLMatcher::UpdateInternalDatastructures() {
// TODO(vadimt): Remove ScopedProfile below once crbug.com/417106 is fixed.
tracked_objects::ScopedProfile tracking_profile(
FROM_HERE_WITH_EXPLICIT_FUNCTION(
"URLMatcher_UpdateInternalDatastructures"));
UpdateSubstringSetMatcher(false); UpdateSubstringSetMatcher(false);
UpdateSubstringSetMatcher(true); UpdateSubstringSetMatcher(true);
UpdateRegexSetMatcher(); UpdateRegexSetMatcher();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment