Releases: MatheusRich/benchable
Releases · MatheusRich/benchable
v0.3.1
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.
v0.2.0
Added
- Support for
Benchmark.memory
via benchmark-memory.
v0.1.0
Added
- Support for
Benchmark.bm
,Benchmark.bmbm
andBenchmark.ips
.