# evanwashere/mitata

benchmark tooling that loves you ❤️

Repository: https://github.com/evanwashere/mitata
Canonical: https://ross.abutalabs.com/products/mitata
Language: JavaScript
License: MIT
License Family: permissive
Topics: benchmark, javascript, performance, bun, deno, nodejs, library, cpp, microbenchmark, single-header, jsc, spidermonkey, v8, graaljs, node
Last push: 2025-02-17T04:26:03+00:00

## Health v2 (maintenance only)
Score: 37/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 7, release rhythm 40, longevity 100
- inputs: {"age_days": 1599, "days_push": 562, "days_rel": 616, "gap_med": 24, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2520, forks 37 (observed 2026-08-28T04:06:58.324993+00:00)

## What it is
Mitata is a microbenchmarking library for JavaScript runtimes (Bun, Deno, Node.js) and C++ via a single header. It provides a clean API for benchmarks with summaries, boxplots, parameterized ranges, garbage collection control, and optional hardware counter stats.

## Use cases
- benchmark javascript functions across bun, deno, and nodejs
- microbenchmark c++ code with a single header
- compare performance of code across v8, javascriptcore, and spidermonkey
- run parameterized benchmarks over input size ranges
- measure cpu stats like ipc with hardware counters
- output benchmark results as json for ci

## When to choose
- you need consistent benchmarking across multiple js runtimes
- you want pretty summaries and boxplot visualizations out of the box
- you need gc control between benchmark iterations
- you want a header-only c++ benchmarking option

## When to avoid
- you need statistical benchmarking for compiled binaries with full harness features like criterion
- you want load or stress testing of services rather than microbenchmarks
- you need browser-based performance profiling tools

## Facets
- artifact type: library
- maturity: active
- function: benchmarking, developer-tools
- domain: performance, developer-tools
- platform: bun, cpp, cross-platform
- tags: microbenchmark, single-header, javascript-runtimes, v8, javascriptcore, spidermonkey, graaljs, hardware-counters, javascript, nodejs, deno

## Member repositories
- evanwashere/mitata (main) score 37

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.324993+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-30T02:26:05.926234+00:00, confidence not recorded.
  - readme: https://github.com/evanwashere/mitata (fetched 2026-08-28T04:06:58.324993+00:00, sha 2a4b7c5de6a0)
  - registry_npm: https://registry.npmjs.org/mitata (fetched 2026-08-29T10:08:21.205088+00:00, sha 01efbcb07b37)
- Data as of 2026-08-30T08:39:29.467469+00:00.
