All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.3.1 - 2021-09-10
- Fix benchmark arguments for Benchmark::Memory.
0.3.0 - 2021-09-09
- Allow running multiple benchmarks at once:
Benchable.bench(:ips, :memory) do
setup do
@array = (1..1000000).map { rand }
end
bench 'sort' do
@array.dup.sort
end
bench 'sort!' do
@array.dup.sort!
end
end
- Compare benchmarks after running them 🤦♂️.
- Require >= Ruby 2.6.
0.2.0 - 2020-10-23
- Support for
Benchmark.memory
via benchmark-memory.
0.1.0 - 2020-08-16
- Support for
Benchmark.bm
,Benchmark.bmbm
andBenchmark.ips
.