sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Benchmark::IPS.options

Set options for running the benchmarks.
:format => [:human, :raw]
   :human format narrows precision and scales results for readability
   :raw format displays 6 places of precision and exact iteration counts

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/benchmark-ips-2.3.0/lib/benchmark/ips.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Benchmark--IPS-options-for-pr


# Commit to git

git add app/server/ruby/vendor/benchmark-ips-2.3.0/lib/benchmark/ips.rbgit commit -m "better docs for Benchmark::IPS.options"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Benchmark--IPS-options-for-pr

hub pull-request


# Celebrate!