OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <div id="description"></div> | 4 <div id="description"></div> |
5 <div id="console"></div> | 5 <div id="console"></div> |
6 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 6 <script src="../../../fast/js/resources/js-test-pre.js"></script> |
7 <script src="../../../../PerformanceTests/resources/runner.js"></script> | 7 <script src="../../../../PerformanceTests/resources/runner.js"></script> |
8 <script type="text/javascript"> | 8 <script type="text/javascript"> |
9 | 9 |
10 description("This test verifies PerfTestRunner.runPerSecond() calls runFunction
as many times as expected."); | 10 description("This test verifies PerfTestRunner.runPerSecond() calls runFunction
as many times as expected."); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 shouldBe("callsInIterations[4]", "callsInIterations[5]"); | 44 shouldBe("callsInIterations[4]", "callsInIterations[5]"); |
45 shouldBe("callsInIterations[5]", "callsInIterations[6]"); | 45 shouldBe("callsInIterations[5]", "callsInIterations[6]"); |
46 shouldBe("callsInIterations[6]", "callsInIterations[7]"); | 46 shouldBe("callsInIterations[6]", "callsInIterations[7]"); |
47 shouldBe("callsInIterations[7]", "callsInIterations[8]"); | 47 shouldBe("callsInIterations[7]", "callsInIterations[8]"); |
48 shouldBeUndefined("callsInIterations[9]"); | 48 shouldBeUndefined("callsInIterations[9]"); |
49 }}); | 49 }}); |
50 | 50 |
51 var jsTestIsAsync = true; | 51 var jsTestIsAsync = true; |
52 | 52 |
53 </script> | 53 </script> |
54 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
55 </body> | 54 </body> |
56 </html> | 55 </html> |
OLD | NEW |