Failure when building WebKit for appletvsimulator.
[WebKit-https.git] / PerformanceTests / Animation / balls.html
index ffc93d68005b663e7487b040411b4b8fb6b55c3e..d88a267e12f46b1af8895a16bd440ffe08b8f1c1 100644 (file)
     var particles = [];
 
     window.onload = function () {
-        PerfTestRunner.prepareToMeasureValuesAsync({runCount: 10, done: onCompletedRun, unit: 'fps'});
+        PerfTestRunner.prepareToMeasureValuesAsync({done: onCompletedRun, unit: 'fps'});
 
         // Create the particles
         for (var i = 0; i < MAX_PARTICLES; i++)
             var frameRateVal = FRAMES_PER_TIMER_READING * 1000 / ((currTime - frameTimes[0]) / (frameTimes.length - 1));
 
             if (!isNaN(frameRateVal))
-                PerfTestRunner.measureValueAync(frameRateVal);
+                PerfTestRunner.measureValueAsync(frameRateVal);
         }
     }