The letter A styled as Alchemists logo. lchemists

Putin's War on Ukraine - Watch President Zelenskyy's speech and help Ukraine fight against the senseless cruelty of a dictator!

Published February 2, 2019 Updated March 14, 2023
Benchmarks Icon

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

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