Skip to content

Instantly share code, notes, and snippets.

@ayosec
Created March 7, 2011 16:35
Show Gist options
  • Save ayosec/858744 to your computer and use it in GitHub Desktop.
Save ayosec/858744 to your computer and use it in GitHub Desktop.
$ wc -c application.js
49209 application.js
$ time java -jar ~/.javascript_closure_compiler/compiler.jar --compilation_level SIMPLE_OPTIMIZATIONS < application.js | wc
50 263 22969
real 0m3.022s
user 0m2.888s
sys 0m0.108s
$ time uglifyjs < application.js | wc
0 204 22730
real 0m0.411s
user 0m0.332s
sys 0m0.084s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment