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 and sample_size (not yet shown in the console formatter)
    • you can rely on Benchee.Conversion.Duration, Benchee.Conversion.Count and Benchee.Conversion.DeviationPercent for help with formatting and scaling units

    ๐Ÿ’ฅ Breaking Changes (Plugins)

    • The Benchee.Timemodule is gone, if you relied on it for one reason or another it's succeeded by the more powerful Benchee.Conversion.Duration