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

Unified Diff: PerformanceTests/Parser/css-parser-yui.html

Issue 478003002: Fill in descriptions on relevant blink_perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: alancutter nits 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
« no previous file with comments | « PerformanceTests/Layout/line-layout-line-height.html ('k') | PerformanceTests/Parser/html-parser.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Parser/css-parser-yui.html
diff --git a/PerformanceTests/Parser/css-parser-yui.html b/PerformanceTests/Parser/css-parser-yui.html
index 691d6b580fce3bfc0e4de22791a01298a915966d..888e451255a6c988e492a82ba99eb546adac522d 100644
--- a/PerformanceTests/Parser/css-parser-yui.html
+++ b/PerformanceTests/Parser/css-parser-yui.html
@@ -2619,11 +2619,14 @@ legend {
var element = document.getElementById("styleElement");
var cssText = element.textContent;
var count = 0;
-PerfTestRunner.measureRunsPerSecond({run:function() {
- element.textContent = "";
- element.textContent = cssText + "#some" + count + "{color:black};";
- count++;
-}});
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of the CSS parser (using YUI's CSS).",
+ run: function() {
+ element.textContent = "";
+ element.textContent = cssText + "#some" + count + "{color:black};";
+ count++;
+ }
+});
</script>
</body>
« no previous file with comments | « PerformanceTests/Layout/line-layout-line-height.html ('k') | PerformanceTests/Parser/html-parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698