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

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

Issue 930333002: [telemetry] Add new measurement that counts number of GCs needed to free V8 context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bucket value getter Created 5 years, 10 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/measurements/v8_detached_context_age_in_gc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/v8.py
diff --git a/tools/perf/benchmarks/v8.py b/tools/perf/benchmarks/v8.py
index 5a7c9c95b6dbbbc5b0e91dd8cd68e0f18b1bdf69..d4003a9e683b56be95dfc2517eefb76035446b92 100644
--- a/tools/perf/benchmarks/v8.py
+++ b/tools/perf/benchmarks/v8.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import page_sets
+from measurements import v8_detached_context_age_in_gc
from measurements import v8_gc_times
from telemetry import benchmark
@@ -42,3 +43,14 @@ class V8KeyMobileSites(benchmark.Benchmark):
@classmethod
def Name(cls):
return 'v8.key_mobile_sites_smooth'
+
+class V8DetachedContextAgeInGC(benchmark.Benchmark):
+ """Measures the number of GCs needed to collect a detached context.
+
+ http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
+ test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC
+ page_set = page_sets.PageReloadCasesPageSet
+
+ @classmethod
+ def Name(cls):
+ return 'v8.detached_context_age_in_gc'
« no previous file with comments | « no previous file | tools/perf/measurements/v8_detached_context_age_in_gc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698