sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Minitest::Benchmark.bench_exp
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]
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/minitest-5.18.1/lib/minitest/benchmark.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Minitest--Benchmark-bench_exp-for-pr
# Commit to gitgit add app/server/ruby/vendor/minitest-5.18.1/lib/minitest/benchmark.rbgit commit -m "better docs for Minitest::Benchmark.bench_exp"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Minitest--Benchmark-bench_exp-for-pr
hub pull-request
# Celebrate!