Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / PerformanceTests / Parser / simple-url.html
index 7fcde6b..b75f871 100644 (file)
@@ -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>