performance tests should be able to measure runs/sec rather than time
[WebKit-https.git] / PerformanceTests / Layout / flexbox-row-wrap.html
index 8eca105..f57e7ed 100644 (file)
@@ -28,8 +28,8 @@ function runTest()
     document.body.clientHeight;
 }
 
-PerfTestRunner.run(runTest, 100, 20, function() {
+PerfTestRunner.runPerSecond({run: runTest, done:function() {
     document.getElementById("flexbox").style.display = 'none';
-});
+}});
 </script>
 </html>