benchee v0.99.0 Release Notes
Release Date: 2019-03-28 // about 5 years ago-
๐ 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 longerBenchee.Benchmark.Scenario
butBenchee.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 onerun_time_data
key that containsBenchee.CollectionData
which has the keys:samples
and:statistics
. Same formemory_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 :)
- ๐ changed official Elixir compatibility to