Releases: tinylibs/tinybench
Releases · tinylibs/tinybench
v6.0.0
🚨 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)
View changes on GitHub
v6.0.0-rc.1
🚨 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)
View changes on GitHub
v6.0.0-beta.4
No significant changes
View changes on GitHub
v6.0.0-beta.3
No significant changes
View changes on GitHub
v6.0.0-beta.2
No significant changes
View changes on GitHub
v5.1.0
🚀 Features
- Add AbortSignal support at the task level - by @boneskull in #364 (f3721)
View changes on GitHub
v5.0.1
🐞 Bug Fixes
- Ensure median() implementation does not sort array in place - by @jerome-benoit (943db)
View changes on GitHub
v5.0.0
🚨 Breaking Changes
- Drop EOLed node 18.x support - by @jerome-benoit in #287 (f881f)
🐞 Bug Fixes
- Ensure RME is positive - by @jerome-benoit (d9739)
- Properly handle abortion at task level and benchmark fn error - by @jerome-benoit (fbf91)
- Do not alter async resource detection semantic - by @jerome-benoit (92b1d)
View changes on GitHub
v4.1.0
🚀 Features
- Allow overridding task function durations - by @rubennorte in #329 (67b46)
View changes on GitHub
v4.0.1
🐞 Bug Fixes
- Export newly added FnHook type definition - by @jerome-benoit (802ff)