louischatriot/exec-time — pull request #2 by capablemonkey (2014-08-17 02:56:31+00:00)
Title: Added new features!

Love the simplicity of this tool.

Made a few adjustments that I'd like to share:
+ use nanosecond precision `process.hrtime()` instead of `Date.getTime`
+ store steps so they can be retrieved later via `Profiler.getSteps()`
+ add flag to let you disable console output (helpful for automated testing)
+ add precision setting: `ms`, `ns`