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

Side by Side Diff: PerformanceTests/Parser/url-parser.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/tiny-innerHTML.html ('k') | PerformanceTests/Parser/xml-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 var urls = PerfTestRunner.loadFile("resources/final-url-en").split("\n"); 5 var urls = PerfTestRunner.loadFile("resources/final-url-en").split("\n");
6 var anchor = document.createElement("a"); 6 var anchor = document.createElement("a");
7 7
8 PerfTestRunner.measureRunsPerSecond({run:function() { 8 PerfTestRunner.measureRunsPerSecond({
9 for (var x = 0; x < urls.length; x++) { 9 description: "Measures performance of URL parsing by setting the href attrib ute on an <a> tag to many different URLs.",
10 anchor.href = urls[x]; 10 run: function() {
11 for (var x = 0; x < urls.length; x++) {
12 anchor.href = urls[x];
13 }
11 } 14 }
12 }}); 15 });
13 </script> 16 </script>
14 </body> 17 </body>
OLDNEW
« no previous file with comments | « PerformanceTests/Parser/tiny-innerHTML.html ('k') | PerformanceTests/Parser/xml-parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698