Convert CSS and Parser tests to runs/s tests
[WebKit.git] / PerformanceTests / Parser / simple-url.html
index 0469383..51ecb50 100644 (file)
@@ -1,13 +1,12 @@
 <!DOCTYPE html>
 <body>
 <!DOCTYPE html>
 <body>
-<pre id="log"></pre>
-<script src="resources/runner.js"></script>
+<script src="../resources/runner.js"></script>
 <script>
 var anchor = document.createElement("a");
 <script>
 var anchor = document.createElement("a");
-start(20, function() {
+PerfTestRunner.runPerSecond({run:function() {
     for (var x = 0; x < 200000; x++) {
         anchor.href = "http://www.apple.com/"
     }
     for (var x = 0; x < 200000; x++) {
         anchor.href = "http://www.apple.com/"
     }
-});
+}});
 </script>
 </body>
 </script>
 </body>