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

Side by Side Diff: PerformanceTests/Parser/simple-url.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 <script> 4 <script>
5 var anchor = document.createElement("a"); 5 var anchor = document.createElement("a");
6 PerfTestRunner.measureRunsPerSecond({run:function() { 6 PerfTestRunner.measureRunsPerSecond({
7 for (var x = 0; x < 200000; x++) { 7 description: "Measures performance of URL parsing by setting the href attrib ute on an <a> tag to a simple URL.",
8 anchor.href = "http://www.apple.com/" 8 run: function() {
9 for (var x = 0; x < 200000; x++) {
10 anchor.href = "http://www.apple.com/"
11 }
9 } 12 }
10 }}); 13 });
11 </script> 14 </script>
12 </body> 15 </body>
OLDNEW
« no previous file with comments | « PerformanceTests/Parser/html5-full-render.html ('k') | PerformanceTests/Parser/textarea-parsing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698