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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../resources/runner.js"></script> 3 <script src="../resources/runner.js"></script>
4 <style id="styleElement" type="text/css"> 4 <style id="styleElement" type="text/css">
5 /* Some yui Yahoo! library snippet */ 5 /* Some yui Yahoo! library snippet */
6 6
7 /*Copyright (c) 2012, Yahoo! Inc. All rights reserved. 7 /*Copyright (c) 2012, Yahoo! Inc. All rights reserved.
8 ---------------------------------------------------- 8 ----------------------------------------------------
9 9
10 Redistribution and use of this software in source and binary forms, with or 10 Redistribution and use of this software in source and binary forms, with or
(...skipping 2601 matching lines...) Expand 10 before | Expand all | Expand 10 after
2612 .yui3-u-23-24 { 2612 .yui3-u-23-24 {
2613 width: 95.8333%; 2613 width: 95.8333%;
2614 } 2614 }
2615 /* YUI CSS Detection Stamp */ 2615 /* YUI CSS Detection Stamp */
2616 #yui3-css-stamp.cssgrids { display: none; } 2616 #yui3-css-stamp.cssgrids { display: none; }
2617 </style> 2617 </style>
2618 <script> 2618 <script>
2619 var element = document.getElementById("styleElement"); 2619 var element = document.getElementById("styleElement");
2620 var cssText = element.textContent; 2620 var cssText = element.textContent;
2621 var count = 0; 2621 var count = 0;
2622 PerfTestRunner.measureRunsPerSecond({run:function() { 2622 PerfTestRunner.measureRunsPerSecond({
2623 element.textContent = ""; 2623 description: "Measures performance of the CSS parser (using YUI's CSS).",
2624 element.textContent = cssText + "#some" + count + "{color:black};"; 2624 run: function() {
2625 count++; 2625 element.textContent = "";
2626 }}); 2626 element.textContent = cssText + "#some" + count + "{color:black};";
2627 count++;
2628 }
2629 });
2627 2630
2628 </script> 2631 </script>
2629 </body> 2632 </body>
OLDNEW
« 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