hugoduncanhugoduncanCommunity·1 Agent Skills Included

criterium

Statistically rigorous benchmarking for Clojure code on the JVM

Measures Clojure code performance with statistically sound results that account for JVM warmup, garbage collection, and measurement overhead. Eliminates misleading timings caused by JIT compilation, dead code elimination, and noisy single-run samples. Provides bench plans, domain analysis, complexity fitting, and multiple output viewers so developers can compare implementations and understand scaling behavior quickly.
npx skills add hugoduncan/criterium --all -g -y
Available:

Gives the AI agent the repository's architecture, build and test commands, and nREPL evaluation rules so it can develop, test, and benchmark the Criterium codebase correctly.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Criterium?

Run `npx skills add hugoduncan/criterium --all -g -y` in your terminal to install this skill globally for your AI agent.

How to benchmark Clojure code accurately?

Use the criterium.bench/bench macro, which automatically handles JVM warmup, GC isolation, and statistical analysis to produce trustworthy timing results.

Why are my Clojure timing results misleading?

Naive timing ignores JIT warmup, garbage collection, and dead code elimination. Criterium corrects for all of these with warmup phases and bootstrap confidence intervals.

Can Criterium compare two implementations?

Yes. Domain analysis lets you benchmark multiple implementations across input sizes and even fit complexity models like O(n) or O(n log n).

Does Criterium work with AI coding agents?

Yes. The included SKILL.md teaches agents like Claude Code how to run benchmarks, choose bench plans, and interpret results from plain-English requests.

Related Repositories in Software Engineering

View All in Software Engineering