-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL adds four out-of-process sandboxed iframes (OOPSIFs) metrics, the first three of which are independent of the state of the kIsolateSandboxedIframes flag: 1) SiteIsolation.IsolatableSandboxedIframes is a count of the total number of sandboxed iframes that are eligible to be process-isolated (this gives us an upper bound on the number of overhead processes we could have if we gave every OOPSIF its own process). 2) SiteIsolation.IsolatableSandboxedIframes.UniqueOrigins is a count of the total number of unique precursor origins found among the isolatable sandboxed iframes (this gives an estimate of process overhead if the isolation model was switched to per-origin). 3) SiteIsolation.IsolatableSandboxedIframes.UniqueSites is the count of the total number of unique sites found among the isolatable sandboxed iframes. 4) Memory.RenderProcessHost.Count.SandboxedIframeOverhead counts the number of RenderProcessHosts used by SiteInstances with the is_sandboxed flag set. This is the actual process overhead under the current process model, which varies depending on the value of the kIsolateSandboxedIframes flag. Bug: 510122 Change-Id: I0eebe1155d7bb48b78b9191aa8e4429718c20124 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3582503 Reviewed-by: Caitlin Fischer <caitlinfischer@google.com> Reviewed-by: Charlie Reis <creis@chromium.org> Reviewed-by: Chris Thompson <cthomp@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: James Maclean <wjmaclean@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002212}
- Loading branch information
W. James MacLean
authored and
Chromium LUCI CQ
committed
May 11, 2022
1 parent
8ad8d82
commit d236c49
Showing
8 changed files
with
864 additions
and
0 deletions.
There are no files selected for viewing
659 changes: 659 additions & 0 deletions
659
chrome/browser/site_isolation/isolated_sandboxed_iframe_browsertest.cc
Large diffs are not rendered by default.
Oops, something went wrong.
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
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