Created
July 6, 2012 07:30
-
-
Save satyr/3058681 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
N = 99 | |
code = '' | |
# massive implicit call chain | |
code += 'f f ' * N + \\n | |
# massive soak access chain | |
code += 'o?.' * N + 'o\n' | |
# deep-nested blocks | |
code += "if #i\n" + ' ' * i for i from 1 to N | |
code += i + \\n | |
# deep-nested destructuring | |
code += \[ * N + \x + \] * N + ' = a\n' | |
for name of <[coco coffee-script livescript]> | |
let co = require name | |
<-! process.nextTick | |
say "#name #{co.VERSION}" | |
now = Date.now! | |
co.compile code | |
say Date.now! - now + \ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment