# tinybench

Benchmarking library.

Source: [Console review](<https://console.dev/tools/tinybench>)

Website: [https://github.com/tinylibs/tinybench](<https://github.com/tinylibs/tinybench>)

Profile updated: 2026-10-16

Category: [Benchmarking / Load testing](<https://console.dev/tools/categories/developer-tools-benchmarking-load-testing>)

## Supported tech stack

Research checked: 2026-10-11

### Runs on

- Bun (Runtime)

### Integrates with

- JavaScript (Language)

Source: [Research source](<https://github.com/tinylibs/tinybench>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

JavaScript benchmarking library uses Web APIs and documents Bun timing support.

## Console’s review — 2024-02-08

Reviewed: 2024-02-08

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/tinybench#review_443c5129c46da3b41befb2eadef9ae33ea18fe7dbafe0353ae3ed38a0dfb1175>)

### What we like

Lightweight library to benchmark TypeScript applications. Supports before & after hooks across tasks and globally. Reports stats for each run e.g. min, max, percentiles. Supports listeners on events. Open source.

### Tradeoffs

Doesn’t do anything with the results by default - don’t forget to log or store them somewhere.

This review reflects Console’s assessment at publication on 2024-02-08. Features and limitations may have changed since the review date.

## Is tinybench a fit?

Based on [Console’s review published on 2024-02-08](<https://console.dev/tools/tinybench#review_443c5129c46da3b41befb2eadef9ae33ea18fe7dbafe0353ae3ed38a0dfb1175>).

Summary updated: 2026-10-16

### Who it’s for

Developers of TypeScript applications should consider tinybench for benchmarking tasks

### Why consider it

tinybench supports detailed statistics reporting for each run

### Keep in mind

tinybench requires manual handling of benchmark results

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
