method

bench

v2_1_10 - Show latest stable - Class: MiniTest::Spec
bench(name, &block)
public

This is used to define a new benchmark method. You usually don’t use this directly and is intended for those needing to write new performance curve fits (eg: you need a specific polynomial fit).

See ::bench_performance_linear for an example of how to use this.