Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: tools/perf/benchmarks/page_cycler_v2.py

Issue 2164913002: [PCv2] Migrate OopifBasicPageSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/oopif_basic_page_set.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/page_cycler_v2.py
diff --git a/tools/perf/benchmarks/page_cycler_v2.py b/tools/perf/benchmarks/page_cycler_v2.py
index 15a56be96b0edc7a2141a98bbb74ca408e71d25f..1fca705e388f38a1a84d3569267098fb3109ade9 100644
--- a/tools/perf/benchmarks/page_cycler_v2.py
+++ b/tools/perf/benchmarks/page_cycler_v2.py
@@ -171,3 +171,34 @@ class PageCyclerV2ToughLayoutCases(_PageCyclerV2):
def CreateStorySet(self, options):
return page_sets.ToughLayoutCasesPageSet(cache_temperatures=[
cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
+
+
+@benchmark.Disabled('reference', 'android')
+class PageCyclerV2BasicOopifIsolated(_PageCyclerV2):
+ """ A benchmark measuring performance of out-of-process iframes. """
+ page_set = page_sets.OopifBasicPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'page_cycler_v2_site_isolation.basic_oopif'
+
+ def SetExtraBrowserOptions(self, options):
+ options.AppendExtraBrowserArgs(['--site-per-process'])
+
+ def CreateStorySet(self, options):
+ return page_sets.OopifBasicPageSet(cache_temperatures=[
+ cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
+
+
+class PageCyclerV2BasicOopif(_PageCyclerV2):
+ """ A benchmark measuring performance of the out-of-process iframes page
+ set, without running in out-of-process iframes mode.. """
+ page_set = page_sets.OopifBasicPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'page_cycler_v2.basic_oopif'
+
+ def CreateStorySet(self, options):
+ return page_sets.OopifBasicPageSet(cache_temperatures=[
+ cache_temperature.PCV1_COLD, cache_temperature.PCV1_WARM])
« no previous file with comments | « no previous file | tools/perf/page_sets/oopif_basic_page_set.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698