benchmark-node v0.5.0 (2022-02-06)
Pre-release
Pre-release
Features
- Add
BenchmarkJobconstructor overloadingBenchmarkJob(testFn, options) - Add support to benchmark overhead performance and workload performance to get the real performance of test function
- Add support to display arguments in Summary Table
- Add support to automatically change time units to improve readability
- Add callbacks
setupandcleanupin Benchmark and BenchmarkJob - Use generic types to check testFn's arguments and Arguments array
Changes
- Changes stages
OverheadJittingWorkloadJittingWorkloadPilotOverheadWarmupOverheadActualWorkloadWarmupWorkloadActualWorkloadResult
Breaking Changes
- Rename
Benchmark's methodsetEmptyTesttoSetNoopTest - Change default value of
minMeasurementTimeto 250 - Delete callbacks
onStartandonComplete