4 <p id="description">This test verifies PerfTestRunner.runPerSecond() outputs log as expected.</p>
5 <div id="console"></div>
6 <script src="../../../../PerformanceTests/resources/runner.js"></script>
7 <script type="text/javascript">
16 PerfTestRunner.now = function () {
18 if (iteration % 2 == 0)
19 currentTime += 1000 / runs;
23 PerfTestRunner.storeHeapResults = function () { }
25 var printStatistics = PerfTestRunner.printStatistics;
26 PerfTestRunner.printStatistics = function (statistics, title) {
27 if (statistics.unit == 'bytes')
29 statistics.stdev = statistics.stdev.toPrecision(3);
30 return printStatistics.call(PerfTestRunner, statistics, title);
33 PerfTestRunner.runPerSecond({