Elestia Open Source Ratings
5.9

bench-node

Reasonable, with limits. 4th of 8 benchmarks and load testing.

bench-node is a Node.js-only micro-benchmark library from a Node.js core maintainer. It uses V8 flags to stop benchmarks from being optimized away and offers t-tests and many reporters. It is a careful tool for library authors who benchmark on Node, but it is still pre-1.0, has few users, and Tinybench or mitata suit most people better. Node's new experimental node:bench module may also take its place over time.

Best for: Node.js library and core contributors who want V8-aware micro-benchmarks with statistical comparison between runs.

GitHubnpm

Scores

Overall5.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

A careful, V8-aware benchmark tool, but it works only on Node.js, is still pre-1.0, and has few users. Tinybench (very widely used, runs everywhere, ships with Vitest) is the better default. Node's own node:bench may take over its role. It is a reasonable pick for Node library authors who want statistical rigor, not a general recommendation.

GPT-6.2 Sol: 6.7, likely 5.4 to 7.9

bench-node is worth choosing for focused Node.js benchmarks where V8 controls and built-in baseline reports matter. Tinybench is the stronger default for general JavaScript benchmarking because it runs across runtimes and integrates with Vitest. The six-month release gap and limited independent comparisons keep bench-node’s recommendation range wide.

Needed by many3.4

How many developers need a tool for this job?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

Micro-benchmarking is a niche job in itself, mostly for library authors and people tuning performance. bench-node narrows it further to Node.js only and does no load testing. Few developers in a typical app project need it.

  • github.com/RafaelGSS/bench-node: Measures ops/sec of Node.js code blocks only
  • category.job: Category also covers server load testing, which this tool does not do

GPT-6.2 Sol: 3.7, likely 2.6 to 4.8

Node.js is widely used, and bench-node serves the subset of teams that need to measure individual operations or compare implementations. Its scope excludes browser benchmarks and server load testing. The developer survey measures Node.js use, so the share of developers who need this kind of microbenchmark remains an estimate.

Helps a lot6.6

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.5

Its V8-aware design (never-optimize plugin, DoNotOptimize, dead-code detection) and Welch's t-test make it more careful than most JS benchmark libraries. It also has a broad set of reporters and ships its own types. Limits: it is pre-1.0, worker mode is experimental, it needs the --allow-natives-syntax flag, and there is no independent accuracy comparison with mitata or Tinybench.

GPT-6.2 Sol: 7.1, likely 5.9 to 8.3

Version 0.15.0 has a documented suite API, V8 controls, baseline reports, and worker warmup. Its declarations miss the baseline option, and an open issue records inconsistent dead-code elimination warnings at the default threshold. Independent guidance supports the V8 use case, while current head-to-head measurements are scarce.

Holds up over time5.5

Will it still be a good choice in two years?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

It is still maintained: 43 commits and 3 releases in the last year, 15 contributors, and a push in October 2026. It depends mostly on one maintainer, and the last release was six months ago. Node.js now ships an experimental node:bench module that does the same job, which may pull users away from this package over two years.

GPT-6.2 Sol: 6.0, likely 4.6 to 7.4

The project recorded 43 commits and three releases over the past year, with repository activity in October and the last release in May. NodeSource provides test machines, and the project has a second maintainer. The six-month release gap and the arrival of an experimental benchmark runner in Node.js make the two-year outlook less certain.

Used widely2.8

How many use it, and is that growing?

Claude Opus 5.5: 2.5, likely 1.5 to 3.5

About 29k downloads in 4 weeks, up from 6.7k a year ago. That ratio of 4.3 is only at the median of 4.1, so it is not gaining ground. Stars (190), Bluesky posts (4) and Hacker News stories (0) are far below every peer. It likely serves a few hundred to a few thousand projects.

  • npm downloadsLast4Weeks: 28,900 vs 6,706 a year ago, ratio ~4.3 vs median 4.1
  • github stars: 190 stars vs 2.4k-9k for peers
  • bluesky posts: Only 4 posts, two from the maintainer

GPT-6.2 Sol: 3.0, likely 1.5 to 4.5

Four-week downloads rose from 6,706 to 28,900, a 4.31× increase against the 4.1× catalog median. That suggests a slight gain from a small base, with faster growth at Tinybench and mitata. Some installs come through tools such as Faceoff, and the missing dependent count makes it hard to estimate how many projects chose bench-node directly.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads grew 4.31× against the 4.1× catalog median.
  • github stars, bluesky posts, dependents: 190 stars, four Bluesky posts, and no recorded dependent count.
  • peers: Tinybench grew about 10.52× and mitata about 7.64×.
  • raw.githubusercontent.com/cobblers-children/faceoff/main/package.json: Faceoff installs bench-node as a dependency.
Vouched for4.1

Who stands behind it being good?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

Its author is a Node.js core maintainer, and NodeSource sponsors its test machines. That backing gives it some credibility. Independent sign-off is thin: one blog post by a contributor in the Node ecosystem, a mention in a state-of-benchmarking article, and no surveys or independent benchmarks.

GPT-6.2 Sol: 5.1, likely 3.8 to 6.5

The Prometheus JavaScript client uses Faceoff for development benchmarks, and Faceoff depends on bench-node. ModestBench independently adapted its measurement techniques. NodeSource also published results using it in a report authored by bench-node’s creator, while independent evaluations of the current release remain sparse.

Safe7.3

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 5.5 to 8.5

It has no advisories and only one dependency. It is a dev-time tool, so the attack surface is small. There is no Scorecard data. GitHub shows no licence, though npm declares MIT. One person controls releases.

  • advisories total: 0 advisories
  • npm dependencies: 1 dependency
  • github license: null on GitHub, MIT on npm
  • scorecard: No Scorecard data

GPT-6.2 Sol: 7.5, likely 6.1 to 8.7

The package declares MIT, has one direct dependency, and has no reported direct advisories. Its release workflow publishes with npm provenance. The allowed Piscina range includes the security fix in 4.9.4, and older lockfiles can still resolve vulnerable versions. The missing OpenSSF Scorecard and public security policy limit confidence in the repository’s controls.

Good

  • Controls V8 optimization with %NeverOptimizeFunction and DoNotOptimize, and can warn about dead-code elimination, so results are less misleading.
  • Offers Welch's t-test, baselines, and compareBenchmarks for checking whether a speed difference is real.
  • Many reporters: text, chart, HTML, JSON, CSV and pretty output, plus custom ones.
  • Ships its own types, has one dependency, and is published under MIT on npm.

Bad

  • Runs on Node.js only, with no browser, Bun or Deno support, unlike Tinybench and mitata.
  • Still at 0.x after three years, with only about 3 releases a year, and worker mode is marked experimental.
  • Small user base: about 29k downloads a month, against hundreds of millions for Tinybench.
  • Node's built-in node:bench, experimental since v26.9, covers the same ground and may replace it.

The numbers

npm downloads, 4 weeks
29k ×4.3 in a year
GitHub stars
190
Commits, 12 months
43
npm version
0.15.0 May 2026
Versions, 12 months
3
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (RafaelGSS/bench-node), npm (bench-node), OSV and the OpenSSF Scorecard.

Benchmarks and load testing

  1. 8.2Tinybench
  2. 7.2Artillery
  3. 7.0autocannon
  4. 5.9bench-node
  5. 5.8mitata
  6. 5.20x
  7. 2.9Benchmark.js
  8. 2.9Clinic.js
Compare all 8 on six scores