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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « PerformanceTests/Parser/html5-full-render.html ('k') | PerformanceTests/Parser/textarea-parsing.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Parser/simple-url.html
diff --git a/PerformanceTests/Parser/simple-url.html b/PerformanceTests/Parser/simple-url.html
index 7fcde6b49a5c76ddca836e5a7c2b9e00716e017e..b75f8711e43a4fe79ca594afaf16a17edc2b7c33 100644
--- a/PerformanceTests/Parser/simple-url.html
+++ b/PerformanceTests/Parser/simple-url.html
@@ -3,10 +3,13 @@
<script src="../resources/runner.js"></script>
<script>
var anchor = document.createElement("a");
-PerfTestRunner.measureRunsPerSecond({run:function() {
- for (var x = 0; x < 200000; x++) {
- anchor.href = "http://www.apple.com/"
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of URL parsing by setting the href attribute on an <a> tag to a simple URL.",
+ run: function() {
+ for (var x = 0; x < 200000; x++) {
+ anchor.href = "http://www.apple.com/"
+ }
}
-}});
+});
</script>
</body>
« 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