-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bfcache] Pause PausableScriptExecutor for frozen context
This CL makes PausableScriptExecutor pause and post tasks to execute scripts instead of synchronously running, when the context is frozen. We saw a big increase of JavaScript execution in bfcache that caused eviction. This was coming from extensions[1]. The users of PausableScriptExecutor are JSInjection and Extensions, and it makes sense to respect freezing for both of the cases. [1]Design doc: https://docs.google.com/document/d/1uf5KOSHzVlh1zSE_PeCD1IxP_Fu-E5rS7jsLmpzCDVo/edit# Bug: 1379227 Change-Id: If3b92ad9f8311190c4238d4c6d2d9f7291b7921f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3995288 Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Yuzu Saijo <yuzus@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/main@{#1067406}
- Loading branch information
Yuzu Saijo
authored and
Chromium LUCI CQ
committed
Nov 4, 2022
1 parent
8bc1ba7
commit 22c0064
Showing
5 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters