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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/runner.js"></script> 4 <script src="../resources/runner.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="test"></div> 7 <div id="test"></div>
8 </body> 8 </body>
9 <script> 9 <script>
10 var div = document.getElementById("test"); 10 var div = document.getElementById("test");
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 'textAlign' : 'center', 64 'textAlign' : 'center',
65 'textDecoration' : 'blink', 65 'textDecoration' : 'blink',
66 'textTransform' : 'capitalize', 66 'textTransform' : 'capitalize',
67 'top' : '25%', 67 'top' : '25%',
68 'verticalAlign' : 'text-bottom', 68 'verticalAlign' : 'text-bottom',
69 'visibility' : 'visible', 69 'visibility' : 'visible',
70 'width' : '300px', 70 'width' : '300px',
71 'webkitTransform' : 'scale3d(0.5, 0.5, 0.5)', 71 'webkitTransform' : 'scale3d(0.5, 0.5, 0.5)',
72 'wordSpacing' : '40px', 72 'wordSpacing' : '40px',
73 }; 73 };
74 PerfTestRunner.measureRunsPerSecond({run:function() { 74 PerfTestRunner.measureRunsPerSecond({
75 for (key in properties) { 75 description: "Measures performance of the CSS style array index getter and s etter (a = elem.style[b], elem.style[c] = d).",
76 var value = div.style[key]; 76 run:function() {
77 div.style[key] = ""; 77 for (key in properties) {
78 div.style[key] = properties[key]; 78 var value = div.style[key];
79 div.style[key] = "";
80 div.style[key] = properties[key];
81 }
79 } 82 }
80 }}); 83 });
81 </script> 84 </script>
82 </html> 85 </html>
OLDNEW
« 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