# privatenumber/minification-benchmarks

🏃‍♂️🏃‍♀️🏃 JS minification benchmarks: babel-minify, esbuild, terser, uglify-js, swc, google closure compiler, tdewolff/minify, oxc-minify

Repository: https://github.com/privatenumber/minification-benchmarks
Canonical: https://ross.abutalabs.com/products/minification-benchmarks
Language: TypeScript
License: MIT
License Family: permissive
Topics: minification, benchmarks, javascript, babel-minify, esbuild, tesrser, uglify-js, size, gzip-size, minification-benchmarks, minifiers, google-closure-compiler, swc, webpack, minifier, minification-performance, uglifyjs, measures, gzip, oxc-minify
Last push: 2026-07-25T10:11:15+00:00

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

## Adoption (not part of the score)
Stars 1619, forks 36 (observed 2026-08-28T04:05:12.188539+00:00)

## What it is
An open-source benchmark suite comparing JavaScript minifiers such as esbuild, terser, swc, oxc-minify, uglify-js, and Google Closure Compiler on output size, gzip size, and speed. It runs each minifier in an isolated process with integrity verification and publishes continuously updated results.

## Use cases
- compare javascript minifier output sizes
- which js minifier is fastest
- benchmark terser vs esbuild vs swc
- measure gzip size of minified javascript
- pick a minifier for my build pipeline
- track minifier performance over time

## When to choose
- you need up-to-date, methodologically sound comparisons of JS minifiers
- you're choosing a minifier based on speed, size, or gzip compression
- you want reproducible benchmark methodology to extend to other minifiers

## When to avoid
- you need a minifier itself rather than benchmark data
- you need benchmarks for non-JavaScript assets like CSS or HTML
- your code has unusual characteristics not covered by the benchmark fixtures

## Facets
- artifact type: dataset
- maturity: active
- function: benchmarking, developer-tools
- domain: developer-tools, performance, web-development, frontend
- platform: cli, cross-platform
- tags: javascript-minifiers, esbuild, terser, swc, uglify-js, gzip-size, build-tools, nodejs

## Member repositories
- privatenumber/minification-benchmarks (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:12.188539+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-30T03:49:36.650592+00:00, confidence not recorded.
  - readme: https://github.com/privatenumber/minification-benchmarks (fetched 2026-08-28T04:05:12.188539+00:00, sha b316fd77f9ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
