Skip to content

Releases: MatheusRich/benchable

v0.3.1

10 Sep 13:00
Compare
Choose a tag to compare

Changed

  • Fix benchmark arguments for Benchmark::Memory.

v0.3.0

10 Sep 02:39
Compare
Choose a tag to compare

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

24 Oct 20:29
8ca6042
Compare
Choose a tag to compare

Added

v0.1.0

16 Aug 18:28
Compare
Choose a tag to compare

Added

  • Support for Benchmark.bm, Benchmark.bmbm and Benchmark.ips.