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

Unified Diff: PerformanceTests/CSS/CSSPropertyUpdateValue.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
Index: PerformanceTests/CSS/CSSPropertyUpdateValue.html
diff --git a/PerformanceTests/CSS/CSSPropertyUpdateValue.html b/PerformanceTests/CSS/CSSPropertyUpdateValue.html
index d59f20b65d25163ea1b25fe2a68fe8bc804ae37d..f64dd90cc642c1639400f3951b55860677f7246d 100644
--- a/PerformanceTests/CSS/CSSPropertyUpdateValue.html
+++ b/PerformanceTests/CSS/CSSPropertyUpdateValue.html
@@ -72,9 +72,12 @@ var properties = {
'wordSpacing' : '40px',
};
// The first run will just add the properties but it's fine as the first run of the benchmark is always ignored.
-PerfTestRunner.measureRunsPerSecond({run:function() {
- for (key in properties)
- div.style[key] = properties[key];
-}});
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of the CSS style array index setter (elem.style[a] = b).",
+ run:function() {
+ for (key in properties)
+ div.style[key] = properties[key];
+ }
+});
</script>
</html>
« no previous file with comments | « PerformanceTests/CSS/CSSPropertySetterGetterMethods.html ('k') | PerformanceTests/CSS/ClassDescendantSelector.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698