PerfTestRunner.run should take an object
[WebKit-https.git] / PerformanceTests / Layout / floats_50_100.html
index 6a50fb6..4022ef7 100644 (file)
@@ -9,7 +9,8 @@
     <body>
         <pre id="log"></pre>
         <script>
-            PerfTestRunner.run(createFloatsLayoutTestFunction(50, 100, 0, 20), 1, 5);
+            PerfTestRunner.measureTime({run: createFloatsLayoutTestFunction(50, 100, 0, 20),
+                runCount: 5});
         </script>
     </body>
 </html>