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

Unified Diff: PerformanceTests/CSS/SelectorCountScaling.html

Issue 478003002: Fill in descriptions on relevant blink_perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clarified APIs and improved some language on animation benchmarks Created 6 years, 2 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
Index: PerformanceTests/CSS/SelectorCountScaling.html
diff --git a/PerformanceTests/CSS/SelectorCountScaling.html b/PerformanceTests/CSS/SelectorCountScaling.html
index 881b6da5f6cf9eb82b247667ba3e9141dea6ff6f..f5274056d78b858b1e106b09abe1d70445dc5334 100644
--- a/PerformanceTests/CSS/SelectorCountScaling.html
+++ b/PerformanceTests/CSS/SelectorCountScaling.html
@@ -43,11 +43,14 @@ function runFunction()
// Force style recalc.
document.body.offsetTop;
-
+
styleElement.parentNode.removeChild(styleElement);
}
-PerfTestRunner.measureRunsPerSecond({run: runFunction});
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of inserting a stylesheet of 2000 different CSS rules, each of which is duplicated 7 times to test duplicate rule optimizations.",
+ run: runFunction
+});
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698