[blink] Speed up AdTracker::isKnownAdScript
Delay calling into V8 for detected the topmost script. Crossing the API and getting a stack trace can be avoided in many case. This has a measurable impact on Speedometer. Bug: 808503 Change-Id: I6ed1b8734056ecb2efd55cf83f1d7a3302690f52 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2571091Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{#834629}
Showing
Please register or sign in to comment