v0.3.0
Added
- 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 🤦♂️.
Changed
- Require >= Ruby 2.6.