diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-11 13:42:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-11 13:48:09 -0700 |
commit | e44b9d6a9ea7fec734624ad21acd97bfc13aaaf8 (patch) | |
tree | 5ec1c3715eae0c04d6d202c3baa9fc37085fd5e4 /src/settings.js | |
parent | 05dbe604903912c7758a1737c8eb3cd928d75256 (diff) |
DETERMINISTIC option
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index a8761d90..26883051 100644 --- a/src/settings.js +++ b/src/settings.js @@ -478,6 +478,9 @@ var HEADLESS = 0; // If 1, will include shim code that tries to 'fake' a browser // very partial - it is hard to fake a whole browser! - so // keep your expectations low for this to work. +var DETERMINISTIC = 0; // If 1, we force Date.now(), Math.random, etc. to return deterministic + // results. Good for comparing builds for debugging purposes (and nothing else) + var BENCHMARK = 0; // If 1, will just time how long main() takes to execute, and not // print out anything at all whatsoever. This is useful for benchmarking. |