🚨 Breaking Changes
- Improve BenchEvent, remove types
BenchEventsMapandTaskEventsMap- by @Uzlopak in #398 (7a8da) - Remove deprecated statistics fields on TaskResult - by @Uzlopak in #407 (e5862)
- Convert parameter of table handles all states - by @Uzlopak in #417 (e63c4)
- Allow reducing data retention, by adding
retainSamplesoption onbenchandtasklevel, default isfalse- by @Uzlopak and Copilot in #421 (572d9)
🚀 Features
- Add async option - by @Uzlopak and Copilot in #371 (f61b1)
- Throw error if provided hooks are not functions - by @Uzlopak in #390 (3c59c)
- Use more performant implementations for calculating mean, mad,aad and variance - by @Uzlopak in #413 (8da74)
- Rename invariant to assert and hide in stacktrace - by @Uzlopak in #442 (7df7e)
- Implement timestamp provider - by @Uzlopak and Copilot in #440 (fbcb3)
- Export formatNumber, add documentation for converting the result for console.table - by @Uzlopak in #444 (37b78)
🐞 Bug Fixes
- Size-limit - by @Uzlopak in #405 (ed035)
- Improve time measuring - by @Uzlopak in #414 (8a7fd)
- Fix regression in output - by @Uzlopak in #415 (ae381)
- Improve aborted handling - by @Uzlopak in #416 (3a0e9)
- Replace plimit with own promises limiter implementation to plug mem leak - by @jerome-benoit and @Uzlopak in #386 (6d93a)
- Introduce and use BenchLike interface to decouple task from Bench. - by @Uzlopak in #422 (c5a07)
- Improve types - by @Uzlopak in #423 (8fbd1)