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

Side by Side Diff: PerformanceTests/Parser/tiny-innerHTML.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
« no previous file with comments | « PerformanceTests/Parser/textarea-parsing.html ('k') | PerformanceTests/Parser/url-parser.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <script> 4 <script>
5 PerfTestRunner.measureRunsPerSecond({run:function() { 5 PerfTestRunner.measureRunsPerSecond({
6 var testDiv = document.createElement("div"); 6 description: "Measures performance of creating an element and setting a tiny amount of HTML.",
7 testDiv.style.display = "none"; 7 run: function() {
8 document.body.appendChild(testDiv); 8 var testDiv = document.createElement("div");
9 for (var x = 0; x < 100000; x++) { 9 testDiv.style.display = "none";
10 testDiv.innerHTML = "This is a tiny HTML document"; 10 document.body.appendChild(testDiv);
11 for (var x = 0; x < 100000; x++) {
12 testDiv.innerHTML = "This is a tiny HTML document";
13 }
14 document.body.removeChild(testDiv);
11 } 15 }
12 document.body.removeChild(testDiv); 16 });
13 }});
14 </script> 17 </script>
15 </body> 18 </body>
OLDNEW
« no previous file with comments | « PerformanceTests/Parser/textarea-parsing.html ('k') | PerformanceTests/Parser/url-parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698