method

bench_exp

v1_9_3_392 - Show latest stable - Class: MiniTest::Unit::TestCase
bench_exp(min, max, base = 10)
public

Returns a set of ranges stepped exponentially from min to max by powers of base. Eg:

bench_exp(2, 16, 2) # => [2, 4, 8, 16]