Criterium is a robust benchmarking library for Clojure that addresses common statistical and JIT-related issues. It provides accurate timings through warm-up, garbage collection control, and statistical summaries—making microbenchmarking more reliable than using time. Statistical processing of multiple evaluations. Inclusion of a warm-up period, designed to allow the JIT compiler to optimise its code. Purging of gc before testing, to isolate timings from GC state prior to testing. A final forced GC after testing to estimate impact of cleanup on the timing results.

Features

  • Warming up code to allow JIT optimizations before benchmarking
  • GC control (purging before and mandatory GC after benchmarking)
  • Statistical processing of results, offering mean, variance, confidence intervals
  • bench and quick-bench methods for different benchmarking scenarios
  • REPL-friendly usage with straightforward integration
  • Highly downloaded and trusted in development workflows

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow Criterium

Criterium Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Criterium!

Additional Project Details

Registered

2025-08-20