Closed junosuarez closed 10 years ago
The time-require
module actually hook the require()
mechanism so the time measured is the _synchronous_ required module initialization (basically the module factory).
The original intent for this module was to visually track the slooow dependencies / modules and to postpone and/or laazy require them on-demand.
is this measuring the synchronous time of the actual
require()
calls to load modules, or is it instrumenting and measuring execution time for functions inside those modules and then reporting grouped by module?