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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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