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

Side by Side Diff: LayoutTests/fast/harness/perftests/perf-runner-compute-statistics.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 <head> 3 <head>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="../../../../PerformanceTests/resources/runner.js"></script> 5 <script src="../../../../PerformanceTests/resources/runner.js"></script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 var alternateComputeStatistics = { 7 var alternateComputeStatistics = {
8 min: function(array) { 8 min: function(array) {
9 return Math.min.apply(Math, array); 9 return Math.min.apply(Math, array);
10 }, 10 },
11 max: function(array) { 11 max: function(array) {
12 return Math.max.apply(Math, array); 12 return Math.max.apply(Math, array);
13 }, 13 },
14 median: function(originalData) { 14 median: function(originalData) {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 shouldEvaluateTo("stats.median", alternateComputeStatistics.median(data)); 137 shouldEvaluateTo("stats.median", alternateComputeStatistics.median(data));
138 debug(""); 138 debug("");
139 139
140 // runner.js marks this as an async test so we need to call notifyDone. 140 // runner.js marks this as an async test so we need to call notifyDone.
141 if (window.testRunner) 141 if (window.testRunner)
142 testRunner.notifyDone(); 142 testRunner.notifyDone();
143 </script> 143 </script>
144 144
145 </body> 145 </body>
146 </html> 146 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/harness/internals-observe-gc.html ('k') | LayoutTests/fast/harness/perftests/runs-per-second-iterations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698