Release Notes

0.2.0

New Features

  1. Add the mean_and_std_dev() basic reporter (issue 9).

    This function prints the benchmark name, mean run time, and standard deviation to standard output.

0.1.0

New Features

  1. Add the Benchmark class (issue 2).

    Developers can write a micro-benchmark as a context manager. The manager benchmarks the user’s function-under-test automatically during context exit.

  2. Add the BenchmarkResults class (issue 10).

    Encapsulate benchmark results for later use by reporters.

  3. Warm up the cache before benchmarking (issue 23).

    Run the function-under-test before benchmarking. This loads code and data into the cache before measuring.