Flowdock
method

bench

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: 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.

Show source
Register or log in to add new notes.