NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
npm, #780 most downloaded on npm
π A simple, tiny and lightweight benchmarking library!
Latest stable
6.2.4
Last release 4 days ago
18 Nov 2026
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 55 of 59 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
72 releases Β· first in 2022
Drag across the ruler to compare, or tap a release to open it.
Respect bench abort signals in task concurrency - by @anticipate218 in #738 (1e5e6)
Reduce large-sample sorting overhead - by @jerome-benoit in #720 (89b5c)
Your coding agent can read these notes before it upgrades. Set up the MCP server β
Remove concurrency abort listeners after runs - by @feritcemkahraman in #699 (93c5f)
stats : Compute critical exactly at any sample size, halving the bundle - by @jerome-benoit in #689 (2547d)
critical exactly at any sample size, halving the bundle - by @jerome-benoit in #689 (2547d)Add overriddenIterationCost to decouple the time budget from the sample - by @jerome-benoit in #666 (a0034)
overriddenIterationCost to decouple the time budget from the sample - by @jerome-benoit in #666 (a0034)types : Support non-DOM runtime declarations - by @jerome-benoit and michalius in #659 (7c278)
Guard Bun.version when only process.versions.bun is present - by @bompus in #655 (b3562)
types : Preserve EventTarget listener fallbacks - by @jerome-benoit in #646 (debc4)
Enforce optional signature - by @sheremet-va in #633 (b54b7)
Export HookMode and TimestampProviderName - by @jerome-benoit (0e99b)
ci: Always run documentation commit on release - by @jerome-benoit (fe4ec)
Add timer-overhead correction, saturation warning, and resolution diagnostic - by @jerome-benoit in https://github.com/tinylibs/tinybench/issues/571 (
Export mToNs used in README console.table example - by @jerome-benoit in https://github.com/tinylibs/tinybench/issues/592 (66161)
lint: Add promise recommended config and jsdoc check-tag-names rule - by @jerome-benoit (124e4)
Make eslint works again - by @jerome-benoit (6c3ab)
Remove deprecated statistics fields on TaskResult - by @Uzlopak in https://github.com/tinylibs/tinybench/issues/407 (e5862)
BenchEventsMap and TaskEventsMap - by @Uzlopak in https://github.com/tinylibs/tinybench/issues/398 <samp>(7a8da)</samp>retainSamples option on bench and task level, default is false - by @Uzlopak and Copilot in https://github.com/tinylibs/tinybench/issues/421 <samp>(572d9)</samp>Remove deprecated statistics fields on TaskResult - by @Uzlopak in https://github.com/tinylibs/tinybench/issues/407 (e5862)
BenchEventsMap and TaskEventsMap - by @Uzlopak in https://github.com/tinylibs/tinybench/issues/398 <samp>(7a8da)</samp>retainSamples option on bench and task level, default is false - by @Uzlopak and Copilot in https://github.com/tinylibs/tinybench/issues/421 <samp>(572d9)</samp>*No significant changes* ##### View changes on GitHub
No significant changes
*No significant changes* ##### View changes on GitHub
No significant changes
*No significant changes* ##### View changes on GitHub
No significant changes
Add AbortSignal support at the task level - by @boneskull in https://github.com/tinylibs/tinybench/issues/364 (f3721)
Ensure median() implementation does not sort array in place - by @jerome-benoit (943db)
Drop EOLed node 18.x support - by @jerome-benoit in https://github.com/tinylibs/tinybench/issues/287 (f881f)
Allow overridding task function durations - by @rubennorte in https://github.com/tinylibs/tinybench/issues/329 (67b46)
Export newly added FnHook type definition - by @jerome-benoit (802ff)
Esm-only - by @43081j and @jerome-benoit in https://github.com/tinylibs/tinybench/issues/253 (63e90)
task and mode arguments optionalImprove the latency and throughput formatting in the result table - by @pallosp and @jerome-benoit in https://github.com/tinylibs/tinybench/issues/233
Add runSync method to Bench to force benchmarks to be synchronous - by @rubennorte in https://github.com/tinylibs/tinybench/issues/210 (c4ddb)
runSync method to Bench to force benchmarks to be synchronous - by @rubennorte in https://github.com/tinylibs/tinybench/issues/210 <samp>(c4ddb)</samp>Do not allow task override by name - by @jerome-benoit in https://github.com/tinylibs/tinybench/issues/197 (b40fe)
Fix error handling in .table() - by @jerome-benoit (0f417)
.table() - by @jerome-benoit <samp>(0f417)</samp>Fix overzealous eslint-plugin-perfectionist object ordering - by @jerome-benoit (63f10)
Add JS runtime information to benchmark - by @jerome-benoit in https://github.com/tinylibs/tinybench/issues/174 (69661)
*No significant changes* ##### View changes on GitHub
No significant changes
Nothing published for this version
*No significant changes* ##### View changes on GitHub
No significant changes
Nothing published for this version
Fix browser support, take 2 - by @jerome-benoit (7d848)
Fix browser support - by @jerome-benoit (bb71e)
Nothing published for this version
Drop unmaintained node 16 support - by @jerome-benoit in https://github.com/tinylibs/tinybench/issues/116 (5e08d)
concurreny property. Any subsequent call to run() will apply itrun() and controlled via benchmark options and/or warmup property at runtimeFn type definition - by @jerome-benoit <samp>(c6062)</samp>Drop unmaintained node 16 support - by @jerome-benoit in https://github.com/tinylibs/tinybench/issues/116 (5e08d)
concurreny property. Any subsequent call to run() will apply itrun() and controlled via benchmark options and/or warmup property at runtimeFn type definition - by @jerome-benoit <samp>(c6062)</samp>Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add pkg.pr.new - by @AmirSa12 in https://github.com/tinylibs/tinybench/issues/80 (3a41b)
Concurrency mode - by @Aslemammad in https://github.com/tinylibs/tinybench/issues/77 (86866)
*No significant changes* ##### View changes on GitHub
No significant changes
throws - by @Aslemammad in https://github.com/tinylibs/tinybench/issues/51 (ab950)
throws - by @Aslemammad in https://github.com/tinylibs/tinybench/issues/51 <samp>(ab950)</samp>samplesLength instead of multiple use samples.length - by @Dunqing in https://github.com/tinylibs/tinybench/issues/59 <samp>(f52f0)</samp>Accurate results and hooks fix - by @Aslemammad in https://github.com/tinylibs/tinybench/issues/43 (a0e3c)
Bench table - by @Sajad-Sharhani and @Aslemammad in https://github.com/tinylibs/tinybench/issues/38 (35439)
Add per-task untimed lifecycle hooks - by @achingbrain and @Aslemammad in https://github.com/tinylibs/tinybench/issues/33 (0c6a3)
Rewrite sort function - by @Aslemammad (04b2c)
*No significant changes* ##### View changes on GitHub
No significant changes
*No significant changes* ##### View changes on GitHub
No significant changes
Update package urls - by @nickmccurdy (fefa4)
*No significant changes* ##### View changes on GitHub
No significant changes
examples: Add examples, and taskName to easily print the benchmarking results - by @Marr11317 (79370)
Event listener - by @poyoho (320f4)
### π Bug Fixes - Types - by @poyoho (06e8f) - Names - by @poyoho (95d22) - Docs - by @poyoho (9d7b5) ##### View changes on GitHub
One column per quarter.