michaelficarra / CoffeeScriptRedux

:sweat: rewrite of the CoffeeScript compiler with proper compiler design principles and a focus on robustness and extensibility
https://michaelficarra.github.com/CoffeeScriptRedux/
BSD 3-Clause "New" or "Revised" License
1.84k stars 111 forks source link

profile to find performance weak points #159

Open michaelficarra opened 11 years ago

michaelficarra commented 11 years ago

My guess is we'll find the performance issues in the fixed point evaluation of the compiler. node-inspector will be useful here.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

joliss commented 11 years ago

Right now CoffeeScriptRedux is a good bit slower than the original CoffeeScript. E.g. compiling src/compiler.coffee takes 3.6 sec for redux, but 1.4 sec for the original compiler. FYI, the original compiler has some unfortunate quadratic behavior when you catenate files, which redux doesn't seem to suffer from.