benchee v0.5.0 Release Notes
Release Date: 2016-10-13 // over 7 years ago-
๐ This release focuses on scaling units to more appropriate sizes. Instead of always working with base one for counts and microseconds those values are scaled accordingly to thousands, milliseconds for better readability. This work was mostly done by new contributor @wasnotrice.
๐ Features (User Facing)
- Console output now scales units to be more friendly. Examples:
- instead of "44556677" ips, you would see "44.56 M"
- instead of "44556.77 ฮผs" run time, you would see "44.56 ms"
- Console output for standard deviation omits the parentheses
- ๐ Scaling of console output can be configured with the 4 different strategies
:best
,:largest
,:smallest
and:none
. Refer to the documentation for their different properties. - โ Shortened the fast function warning and instead linked to the wiki
๐ Features (Plugins)
- The statistics module now computes the
minimum
,maximum
andsample_size
(not yet shown in the console formatter) - you can rely on
Benchee.Conversion.Duration
,Benchee.Conversion.Count
andBenchee.Conversion.DeviationPercent
for help with formatting and scaling units
๐ฅ Breaking Changes (Plugins)
- The
Benchee.Time
module is gone, if you relied on it for one reason or another it's succeeded by the more powerfulBenchee.Conversion.Duration
- Console output now scales units to be more friendly. Examples: