tobie/module-grapher — pull request #9 by achien (2012-02-04 01:16:37+00:00)
Title: Allow optional caching of parse results

Right now each javascript file is read and parsed to figure out the arguments of require(..) in those files. This happens on every build even though most files do not change. It would be far more efficient to cache those results to use on recompiles, as the parsing step is slow.

This change can allow dramatic speedups. For one project I was able to improve modulr run time from 2700ms to 400ms.