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