# hugoduncan/criterium

Benchmarking library for clojure

Repository: https://github.com/hugoduncan/criterium
Canonical: https://ross.abutalabs.com/products/criterium
Homepage: http://hugoduncan.github.io/criterium
Language: Clojure
License Family: other
Last push: 2026-06-17T16:58:15+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 55, longevity 100
- inputs: {"age_days": 6104, "days_push": 77, "days_rel": 142, "gap_med": 127, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1224, forks 53 (observed 2026-08-28T04:04:02.836582+00:00)

## What it is
Criterium is a benchmarking library for Clojure that measures expression computation time while addressing JVM benchmarking pitfalls. It applies statistical processing, JIT warm-up periods, and GC purging to produce reliable timing results.

## Use cases
- benchmark a clojure expression
- measure function execution time on the jvm
- get statistically sound microbenchmarks in clojure
- avoid jit warm-up bias when benchmarking
- compare performance of clojure code snippets

## When to choose
- you need reliable JVM benchmarking with JIT warm-up and GC isolation
- you want statistical quantiles and outlier analysis for timings
- you are benchmarking Clojure code

## When to avoid
- you need benchmarking outside the JVM/Clojure ecosystem
- you want a stable API - the 0.5.x master branch is alpha with breaking changes
- you need continuous profiling rather than expression benchmarking

## Facets
- artifact type: library
- maturity: active
- function: benchmarking, testing
- domain: developer-tools, performance, programming-languages
- platform: jvm, jvm-scripting
- tags: clojure, jvm-benchmarking, statistics, jit-warmup, microbenchmark

## Member repositories
- hugoduncan/criterium (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:02.836582+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-30T06:15:27.663849+00:00, confidence not recorded.
  - readme: https://github.com/hugoduncan/criterium (fetched 2026-08-28T04:04:02.836582+00:00, sha 4f7fb6de4c5c)
  - homepage: http://hugoduncan.github.io/criterium (fetched 2026-08-29T12:23:27.184181+00:00, sha 03d8f8f6e96c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
