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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « PerformanceTests/Parser/tiny-innerHTML.html ('k') | PerformanceTests/Parser/xml-parser.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Parser/url-parser.html
diff --git a/PerformanceTests/Parser/url-parser.html b/PerformanceTests/Parser/url-parser.html
index cee3e8cf2e301f3fe5f7b8227b87e5267a8d725d..44436143fb23e5d4bca70072909d4d25c657db8f 100644
--- a/PerformanceTests/Parser/url-parser.html
+++ b/PerformanceTests/Parser/url-parser.html
@@ -5,10 +5,13 @@
var urls = PerfTestRunner.loadFile("resources/final-url-en").split("\n");
var anchor = document.createElement("a");
-PerfTestRunner.measureRunsPerSecond({run:function() {
- for (var x = 0; x < urls.length; x++) {
- anchor.href = urls[x];
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of URL parsing by setting the href attribute on an <a> tag to many different URLs.",
+ run: function() {
+ for (var x = 0; x < urls.length; x++) {
+ anchor.href = urls[x];
+ }
}
-}});
+});
</script>
</body>
« 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