X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=PerformanceTests%2FMutation%2Fremove-child-deep.html;h=ffba0756bb9826b8e5e841c01ffa383e59fa26dd;hp=72eada4e29804979a26f76e1e154c087f7e905d3;hb=5955fed4b1d655f0f235d32650ac7f01d0f0dd92;hpb=c74191d441cc65691e42f798a5b3e9bd57e8e76f;ds=sidebyside diff --git a/PerformanceTests/Mutation/remove-child-deep.html b/PerformanceTests/Mutation/remove-child-deep.html index 72eada4e2980..ffba0756bb98 100644 --- a/PerformanceTests/Mutation/remove-child-deep.html +++ b/PerformanceTests/Mutation/remove-child-deep.html @@ -36,7 +36,7 @@ function listener(mutations) { if (start) { var time = Date.now() - start; times.push(time); - log(time); + PerfTestRunner.log(time); } if (numRuns-- >= 0) { runAgain(); @@ -48,19 +48,19 @@ function listener(mutations) { while (node.firstChild) node.removeChild(node.firstChild); } 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);