Copyright © 2014-2022, Andrew Bennett
Authors: Andrew Bennett (potatosaladx@gmail.com).
arguments() = arguments(term())
arguments(Type) = arguments_function(Type) | arguments_list(Type)
arguments_function(Type) = fun(() -> arguments_list(Type))
arguments_list(Type) = [Type]
metric() = #{acc := non_neg_integer(), avg := float(), min := non_neg_integer(), max := non_neg_integer()}
stats() = #{reds := metric(), time := metric()}
| bench/2 | |
| bench/3 | |
| compare/3 |
bench(Function::function(), Arguments::arguments()) -> stats()
bench(Function::function(), Arguments::arguments(), N::non_neg_integer()) -> stats()
compare(Groups::[{atom(), function()}], Arguments::arguments(), N::non_neg_integer()) -> [{atom(), stats()}]
Generated by EDoc