Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: LayoutTests/fast/harness/perftests/runs-per-second-iterations.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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="../../../resources/js-test.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.");
11 11
12 var iteration = 0; 12 var iteration = 0;
13 var currentTime = 100; 13 var currentTime = 100;
14 var callsInIterations = []; 14 var callsInIterations = [];
15 var timesInIterations = [0, 10, 30, 60, 200, 200, 200, 200, 750]; 15 var timesInIterations = [0, 10, 30, 60, 200, 200, 200, 200, 750];
16 var logLines = []; 16 var logLines = [];
(...skipping 29 matching lines...) Expand all
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 </body> 54 </body>
55 </html> 55 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/harness/perftests/perf-runner-compute-statistics.html ('k') | LayoutTests/fast/hidpi/dpr-setting.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698