Flowdock
method

bench

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Spec

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

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.