Bmark.Server

The Bmark server maintains a list of benchmarks registered with the bmark module. It can also run all benchmarks in the list.

Summary

Functions

Add a new benchmark to the list

Run all the benchmarks and write results

Start the Bmark server

Functions

add(module, name, runs)

Add a new benchmark to the list.

module - The module that contains the bmark function. name - The benchmark name (also the name of the underlying function) runs - The number of times to run the benchmark.

run_benchmarks()

Run all the benchmarks and write results.

start()

Start the Bmark server.