felixSchl / neodoc

Beautiful, hand-crafted commandline interfaces for node.js
https://felixschl.github.io/neodoc
MIT License
227 stars 9 forks source link

Improve perf #81

Closed felixSchl closed 7 years ago

felixSchl commented 7 years ago

Improve overall perf by applying optimizations, such as using monomorphic functions, avoiding to call curried functions that are hot and the largest change: remove purescript-parsing and using homebrewn parser library - this should also make the output smaller and hence faster to requrire neodoc.

There's now tooling for measuring the execution time of a single function: scripts/prof.

Current goals:

felixSchl commented 7 years ago

This round of optimizations is concluded with the 1.2.0 release. Further optimizations should be tracked in specific issues.