| OLD | NEW |
| 1 // There are tests for computeStatistics() located in LayoutTests/fast/harness/p
erftests | 1 // There are tests for computeStatistics() located in LayoutTests/fast/harness/p
erftests |
| 2 | 2 |
| 3 // Require non-quantized real-time JS heap size information. | |
| 4 if (window.internals) | |
| 5 internals.settings.setPreciseMemoryInfoEnabled(true); | |
| 6 | |
| 7 if (window.testRunner) { | 3 if (window.testRunner) { |
| 8 testRunner.waitUntilDone(); | 4 testRunner.waitUntilDone(); |
| 9 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
| 10 } | 6 } |
| 11 | 7 |
| 12 (function () { | 8 (function () { |
| 13 var logLines = null; | 9 var logLines = null; |
| 14 var completedIterations = -1; | 10 var completedIterations = -1; |
| 15 var callsPerIteration = 1; | 11 var callsPerIteration = 1; |
| 16 var currentTest = null; | 12 var currentTest = null; |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 329 |
| 334 iframe.contentDocument.close(); | 330 iframe.contentDocument.close(); |
| 335 document.body.removeChild(iframe); | 331 document.body.removeChild(iframe); |
| 336 }; | 332 }; |
| 337 | 333 |
| 338 PerfTestRunner.measureTime(test); | 334 PerfTestRunner.measureTime(test); |
| 339 } | 335 } |
| 340 | 336 |
| 341 window.PerfTestRunner = PerfTestRunner; | 337 window.PerfTestRunner = PerfTestRunner; |
| 342 })(); | 338 })(); |
| OLD | NEW |