Implement a new design for JetStream2
[WebKit-https.git] / PerformanceTests / Mutation / append-child-deep.html
index b115f43..783d6f8 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <body>
 <pre id="log"></pre>
-<script src="../Parser/resources/runner.js"></script>
+<script src="../resources/runner.js"></script>
 <div id="sandbox" style="display:none"></div>
 <script>
 var sandbox = document.getElementById('sandbox');
@@ -31,7 +31,7 @@ function listener(mutations) {
     if (start) {
         var time = Date.now() - start;
         times.push(time);
-        log(time);
+        PerfTestRunner.log(time);
     }
     if (numRuns-- >= 0) {
         runAgain();
@@ -44,19 +44,19 @@ function listener(mutations) {
         for (var i = 0; i < elems.length; ++i)
             node.appendChild(elems[i]);
     } else {
-        logStatistics(times);
+        PerfTestRunner.logStatistics(times);
         if (!observing) {
             observing = true;
             resetState();
-            log('\n------------\n');
-            log('Running ' + numRuns + ' times with observation');
+            PerfTestRunner.log('\n------------\n');
+            PerfTestRunner.log('Running ' + numRuns + ' times with observation');
             setTimeout(runAgain, 0);
         }
     }
 }
 
 resetState();
-log('Running ' + numRuns + ' times without observation');
+PerfTestRunner.log('Running ' + numRuns + ' times without observation');
 window.addEventListener('load', runAgain);
 </script>
 </body>