Skip to content

Instantly share code, notes, and snippets.

@satyr satyr/cobench.co
Created Jul 6, 2012

Embed
What would you like to do?
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
You can’t perform that action at this time.