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

Side by Side Diff: PerformanceTests/resources/runner.js

Issue 196533018: Remove EnableMemoryInfo WebSetting, rename internal to preciseMemoryInfoEnabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « no previous file | Source/core/frame/Settings.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // We need access to console.memory for the memory measurements 3 // Require non-quantized real-time JS heap size information.
4 if (window.internals) 4 if (window.internals)
5 internals.settings.setMemoryInfoEnabled(true); 5 internals.settings.setPreciseMemoryInfoEnabled(true);
6 6
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 } 10 }
11 11
12 (function () { 12 (function () {
13 var logLines = null; 13 var logLines = null;
14 var completedIterations = -1; 14 var completedIterations = -1;
15 var callsPerIteration = 1; 15 var callsPerIteration = 1;
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 iframe.contentDocument.close(); 334 iframe.contentDocument.close();
335 document.body.removeChild(iframe); 335 document.body.removeChild(iframe);
336 }; 336 };
337 337
338 PerfTestRunner.measureTime(test); 338 PerfTestRunner.measureTime(test);
339 } 339 }
340 340
341 window.PerfTestRunner = PerfTestRunner; 341 window.PerfTestRunner = PerfTestRunner;
342 })(); 342 })();
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698