felixSchl/neodoc

Improve perf

felixSchl opened this issue · 1 comments

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:

  • Remove purescript-parsing - _note: it's still in the project for the test suite parser, but gets culled during DCE when building for distribution

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