performance tests should be able to measure runs/sec rather than time
[WebKit-https.git] / PerformanceTests / Layout / flexbox-row-nowrap.html
index b772dad..ddb1516 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>