time-to-generate-tree
Computes the time it takes to generate the dependency trees for all application entry points within a directory
npm install time-to-generate-tree
Usage
var timeToTrees = ; ;
-
You must supply either the
directory
or afilename
-
The returned
timeData
is an object where the keys are the filenames and the values are the time it took to generate the dependency trees. -
You may pass additional options supported by
get-driver-scripts
to handle pulling driver scripts from a RequireJS build config or resolving aliased paths via a requirejs config.
Shell command
Prints the time data in tabular form
Requires a global install npm install -g time-to-generate-tree
time-to-generate-tree <directory>