benchee v0.8.0 Release Notes
Release Date: 2017-05-07 // almost 7 years ago-
๐ Another smaller release that focuses on adding type specs and structs in appropriate places along with fixing a couple of small bugs.
๐ Features (User Facing)
- ๐ง Providing an unrecognized configuration option (say
runNtime
instead ofruntime
) will now raise an exception - ๐ง Durations in the configuration will now be scaled appropriately (minutes, microseconds etc)
- ๐ Major functions are type specced for your viewing pleasure in the docs and your dialyzer pleasure at type check time.
๐ Bugfixes (User Facing)
- ๐ In 0.7.0 statistics generation might time out if Millions of run times were captured so that it takes longer than 5 seconds, this is fixed by waiting infinitely - thanks @devonestes for the report.
- ๐ Unintended line break in the fast function warning removed
- All necessary dependencies added to
:applications
(deep_merge was missing)
๐ฅ Breaking Changes (User Facing)
- โฌ๏ธ Dropped support for elixir 1.2, new support is elixir 1.3+
- ๐ง
Benchee.Config
was renamed toBenchee.Configuration
(important when you use the more verbose API or used it in a Plugin)
๐ Features (Plugins)
- Major public interfacing functions are now typespecced!
- ๐ง A couple of major data structures are now proper structs e.g.
Benchee.Suite
,Benchee.Configuration
,Benchee.Statistics
๐ฅ Breaking Changes (Plugins)
- ๐ง The
config
key is nowconfiguration
to go along with the Configuration name change - ๐ As
Benchee.Configuration
is a proper struct now, arbitrary keys don't end up in it anymore. Custom data for plugins should be passed in throughformatter_options
orassigns
. Existing plugin keys (csv
,json
,html
andconsole
) are automatically put into theformatter_options
key space for now.
- ๐ง Providing an unrecognized configuration option (say