criterium
Statistically rigorous benchmarking for Clojure code on the JVM
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow 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→openclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core