node-require-timings

1.0.0 • Public • Published

require-timings

Tiny module to help track down pesty slow requires. For some classes of application, like a commandline tool, initial boot is quite important. This module makes it quite simple to roughly see which modules requires are slowing boot.

usage:

npm install --save node-require-timings

then in your entry file

require('node-require-timings');

thats it, now your tool will emit timings for each require.

/node-require-timings/

    Package Sidebar

    Install

    npm i node-require-timings

    Weekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • stefanpenner
    • rwjblue