Created
September 23, 2010 05:31
-
-
Save satyr/593175 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
var CS = require('./lib/coffee-script'); | |
var code = require('fs').readFileSync('examples/underscore.coffee').toString(); | |
var start = Date.now(); | |
var tokens = CS.tokens(code); | |
require('sys').puts(Date.now() - start +'ms ('+ tokens.length +' tokens)'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment