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

Side by Side Diff: test/js-perf-test/base.js

Issue 662723006: Share test framework between js-perf-tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | « test/js-perf-test/Iterators/run.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 // Performance.now is used in latency benchmarks, the fallback is Date.now. 6 // Performance.now is used in latency benchmarks, the fallback is Date.now.
7 var performance = performance || {}; 7 var performance = performance || {};
8 performance.now = (function() { 8 performance.now = (function() {
9 return performance.now || 9 return performance.now ||
10 performance.mozNow || 10 performance.mozNow ||
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 } catch (e) { 358 } catch (e) {
359 suite.NotifyError(e); 359 suite.NotifyError(e);
360 return null; 360 return null;
361 } 361 }
362 return RunNextSetup; 362 return RunNextSetup;
363 } 363 }
364 364
365 // Start out running the setup. 365 // Start out running the setup.
366 return RunNextSetup(); 366 return RunNextSetup();
367 } 367 }
OLDNEW
« no previous file with comments | « test/js-perf-test/Iterators/run.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698