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