| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 1.5.0 source code.tar.gz | 2025-10-21 | 153.1 kB | |
| 1.5.0 source code.zip | 2025-10-21 | 221.2 kB | |
| README.md | 2025-10-21 | 1.7 kB | |
| Totals: 3 Items | 376.0 kB | 0 | |
1.5.0 (2025-10-21)
Finally max_sample_size is here to alleviate a variety of woes resulting from gathering too many samples!
Also finally, Benchee lets you exclude outliers!
Features (User Facing)
- Introduce
max_sample_sizewhich guides how many samples will be gathered at most for a given scenario. This avoids a variety of issues when scenarios gather too many samples (memory consumption, statistics taking long to calculate, formatters hanging/not working). Defaults to1_000_000, setting it tonilgathers unlimited samples again (behavior before this version). - Introduce
exclude_outliersoption which when set totruewill automatically exclude outliers from the samples gathered. Especially important for run time, you can remove samples caused by garbage collection or external factors. Defaults tofalse. Shout out to @NickNeck who implemented this long wished for feature over inStatistex. - Display
input_nameentries in Livebook/Table.Readerprotocol. Thanks @madlep!
Bugfixes (User Facing)
- fixed a bug where if times were supplied as
0instead of0.0we'd sometimes gather a single measurement - elixir
1.19compilation warnings have been fixed
Features (Plugins)
- The
%Benchee.Statistics{}struct now comes with values to accompany the outlier exclusion feature: - outliers - if outlier exclusion was enabled, may include any samples of outliers that were found, empty list otherwise
- lower_outlier_bound - value below which values are considered an outlier
- upper_outlier_bound - value above which values are considered an outlier