# bestiejs/benchmark.js

A benchmarking library. As used on jsPerf.com.

Repository: https://github.com/bestiejs/benchmark.js
Canonical: https://ross.abutalabs.com/products/benchmarkjs
Homepage: https://benchmarkjs.com/
Language: JavaScript
License: NOASSERTION
License Family: other
Archived: true
Last push: 2022-12-22T13:38:09+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5579, "days_push": 1350, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5456, forks 330 (observed 2026-08-28T04:09:19.428197+00:00)

## What it is
Benchmark.js is a JavaScript benchmarking library that supports high-resolution timers and returns statistically significant results. It powers jsPerf.com and works in both browsers and Node.js.

## Use cases
- benchmark javascript functions
- compare performance of code snippets
- measure operations per second in node
- run microbenchmarks in the browser
- find the fastest implementation among alternatives
- build a jsperf-style performance test

## When to choose
- you need statistically rigorous JavaScript benchmarks with high-resolution timers
- you want to compare multiple implementations in browser or Node.js
- you want the library behind jsPerf

## When to avoid
- you need actively developed tooling with modern runtime support
- you are benchmarking non-JavaScript code
- you need CI-integrated performance regression tracking rather than ad-hoc benchmarks

## Facets
- artifact type: library
- maturity: maintenance
- function: benchmarking
- domain: developer-tools, performance, testing
- platform: browser, cross-platform
- tags: javascript, microbenchmarking, jsperf, statistically-significant-results, high-resolution-timers, nodejs

## Member repositories
- bestiejs/benchmark.js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:19.428197+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:56:47.924229+00:00, confidence not recorded.
  - readme: https://github.com/bestiejs/benchmark.js (fetched 2026-08-28T04:09:19.428197+00:00, sha 3017aa3e0399)
  - homepage: https://benchmarkjs.com/ (fetched 2026-08-29T08:52:08.482402+00:00, sha 8fd0b4a96dab)
  - site_page: https://benchmarkjs.com/docs (fetched 2026-08-29T08:52:08.484997+00:00, sha 339e6457cd5b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
