Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.48 KB

CHANGELOG.md

File metadata and controls

65 lines (43 loc) · 1.48 KB

Changelog

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

Changed

  • Fix benchmark arguments for Benchmark::Memory.

0.3.0 - 2021-09-09

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.

0.2.0 - 2020-10-23

Added

0.1.0 - 2020-08-16

Added

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