Skip to content

v0.3.0

Compare
Choose a tag to compare
@MatheusRich MatheusRich released this 10 Sep 02:39
· 5 commits to main since this release

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.