
Benchmarks
2.1.0
Benchmarks is a collection of Ruby micro benchmarks which can be cloned and run locally or used as an information point of reference. The various statistics on Ruby performance captured within this project may or may not surprise you.
Features
-
Uses Benchmark IPS to calculate CPU/speed results.
Requirements
Setup
To install, run:
git clone https://github.com/bkuhlmann/benchmarks.git
cd benchmarks
git checkout 2.1.0
bin/setup
Usage
Every benchmark is executable and can be run via the file path. Example:
scripts/ruby/strings/split
You can also avoid running any of the benchmarks locally by browsing any of the scripts located in
the scripts
folder and looking for the benchmark results at the end of the file.
Development
To contribute, run:
git clone https://github.com/bkuhlmann/benchmarks.git
cd benchmarks
bin/setup
Tests
To test, run:
bin/rake
Credits
-
Built with Rubysmith.
-
Engineered by Brooke Kuhlmann.