BencheeDsl.Benchmark (BencheeDsl v0.1.3) View Source
Helpers for defining a benchmark with the DSL.
This module must be used to define and configure a benchmark.
Link to this section Summary
Functions
Configures the benchmark.
Adds a formatter to the benchmark.
Defines a function or map
to setup the inputs for the benchmark. If inputs
has a do
block a map
is expected to be returned.
This macro defines a function for the benchmark.
Overwrites the job map. This function can be used to set up jobs dynamically.
Updates the job map. This function can be used to set up jobs dynamically.
Creates a new Benchmark
struct.
Defines a callback that runs once the benchmark exits.
Defines a setup
callback to be run before the benchmark starts.
Updates a benchmark
struct by the given key
or path
.
Link to this section Types
Specs
keys() :: :config | :description | :dir | :module | :title
Specs
Link to this section Functions
Configures the benchmark.
Adds a formatter to the benchmark.
Defines a function or map
to setup the inputs for the benchmark. If inputs
has a do
block a map
is expected to be returned.
This macro defines a function for the benchmark.
Overwrites the job map. This function can be used to set up jobs dynamically.
Updates the job map. This function can be used to set up jobs dynamically.
Specs
Creates a new Benchmark
struct.
Defines a callback that runs once the benchmark exits.
Defines a setup
callback to be run before the benchmark starts.
Specs
Updates a benchmark
struct by the given key
or path
.