Skip to content

0.99.0

Compare
Choose a tag to compare
@PragTob PragTob released this 28 Mar 15:15

The "we're almost 1.0!" release - all the last small features, a bag of polish and deprecation warnings. If you run this release succesfully without deprecation warnings you should be safe to upgrade to 1.0.0, if not - it's a bug :)

Breaking Changes (User Facing)

  • changed official Elixir compatibility to ~> 1.6, 1.4+ should still work but aren't guaranteed or tested against.

Features (User Facing)

  • the console comparison now also displays the absolute difference in the average (like +12 ms) so that you have an idea to how much time that translates to in your applications not just that it's 100x faster
  • Overhaul of README, documentation, update samples etc. - a whole lot of things have also been marked @doc false as they're considered internal

Bugfixes (User Facing)

  • Remove double empty line after configuration display
  • Fix some wrong type specs

Breaking Changes (Plugins)

  • Scenario made it to the big leagues, it's no longer Benchee.Benchmark.Scenario but Benchee.Scenario - as it is arguably one of our most important data structures.
  • The Scenario struct had some keys changed (last time before 2.0 I promise!) - instead of :run_times/:run_time_statistics you now have one run_time_data key that contains Benchee.CollectionData which has the keys :samples and :statistics. Same for memory_usage. This was done to be able to handle different kinds of measurements more uniformly as we will add more of them.

Features (Plugins)

  • Benchee.Statistics comes with 3 new values: :relative_more, :relative_less, :absolute_difference so that you don't have to calculate these relative values yourself :)