package
Measure the performance of an function easily
npm install function-perfGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 1 packages.
14.8 kB
Includes dependencies.
Measure the performance of an function easily
This is a Node.js module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
npm install function-perf --saveimport { Measure } from 'function-perf';
class Example {
@Measure({ asyncFunction: true })
async asyncFunctionToMeasure() {
// ...
}
@Measure()
functionToMeasure() {
// ...
}
}run demo.ts to complete usage
npm install
npm testNone
MIT