BenchmarkTools makes performance tracking of Julia code easy by supplying a framework for writing and running groups of benchmarks as well as comparing benchmark results. This package is used to write and run the benchmarks found in BaseBenchmarks.jl. The CI infrastructure for automated performance testing of the Julia language is not in this package but can be found in Nanosoldier.jl. Our story begins with two packages, "Benchmarks" and "BenchmarkTrackers". The Benchmarks package implemented an execution strategy for collecting and summarizing individual benchmark results, while BenchmarkTrackers implemented a framework for organizing, running, and determining regressions of groups of benchmarks. Under the hood, BenchmarkTrackers relied on Benchmarks for actual benchmark execution.

Features

  • BenchmarkTools is a Julia Language package
  • Documentation available
  • Individual sample noise could significantly change the execution strategy used to collect further samples
  • The estimates used to characterize benchmark results and to detect regressions were statistically vulnerable to noise
  • Different benchmarks have different noise tolerances, but there was no way to tune this parameter on a per-benchmark basis
  • Running benchmarks took a long time - an order of magnitude longer than theoretically necessary for many functions
  • Using the system in the REPL (for example, to reproduce regressions locally) was often cumbersome

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow BenchmarkTools.jl

BenchmarkTools.jl 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 BenchmarkTools.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Frameworks

Registered

2023-11-07