Last active
January 21, 2020 07:18
-
-
Save blackavec/becdce095912d6675a5a118b7e705c2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports.scenario = function() { | |
let runCycles = totalExecutionLimit // 1,000,000,000 | |
setInitialTime() | |
while (true) { | |
// do the calculation | |
add(2, 2) | |
if (!runCycles--) | |
break | |
} | |
return timeDiff() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment