0.0.5 • Published 7 months ago
rqrc v0.0.5
rqrc
rqrc stands for reqire time recorder. It measures and visualizes how many seconds it takes to require each module of commonjs.
Usage
$ npm install -g rqrc
$ rqrc -w 800 -h 960 -o out/file/path.html -t threshold_ms entry/file/path.js
Example
$ node dist/cli.js ./demo/main.js -o out.html -w 960 -h 500 && open out.html
$ # you'll see the following image