PerfTestRunner.run should take an object
[WebKit-https.git] / PerformanceTests / Layout / floats_100_100_nested.html
index 09afd0e..dcb9329 100644 (file)
@@ -9,7 +9,8 @@
     <body>
         <pre id="log"></pre>
         <script>
-            PerfTestRunner.run(createFloatsLayoutTestFunction(100, 100, 100, 3), 1, 2);
+            PerfTestRunner.measureTime({run: createFloatsLayoutTestFunction(100, 100, 100, 3),
+                runCount: 2});
         </script>
     </body>
 </html>