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

Unified Diff: PerformanceTests/CSS/CSSPropertySetterGetter.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/CSSPropertySetterGetter.html
diff --git a/PerformanceTests/CSS/CSSPropertySetterGetter.html b/PerformanceTests/CSS/CSSPropertySetterGetter.html
index 6bc51dec73ed522fe62d43c9e97eda814d5f0cb9..0e68a90ce8b22e318c9a0857d9e2cb7637d9b897 100644
--- a/PerformanceTests/CSS/CSSPropertySetterGetter.html
+++ b/PerformanceTests/CSS/CSSPropertySetterGetter.html
@@ -71,12 +71,15 @@ var properties = {
'webkitTransform' : 'scale3d(0.5, 0.5, 0.5)',
'wordSpacing' : '40px',
};
-PerfTestRunner.measureRunsPerSecond({run:function() {
- for (key in properties) {
- var value = div.style[key];
- div.style[key] = "";
- div.style[key] = properties[key];
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of the CSS style array index getter and setter (a = elem.style[b], elem.style[c] = d).",
+ run:function() {
+ for (key in properties) {
+ var value = div.style[key];
+ div.style[key] = "";
+ div.style[key] = properties[key];
+ }
}
-}});
+});
</script>
</html>
« no previous file with comments | « PerformanceTests/CSS/AttributeDescendantSelector.html ('k') | PerformanceTests/CSS/CSSPropertySetterGetterMethods.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698