Module jose_jwa_bench

.

Copyright © 2014-2022, Andrew Bennett

Authors: Andrew Bennett (potatosaladx@gmail.com).

Description

Data Types

arguments()

arguments() = arguments(term())

arguments()

arguments(Type) = arguments_function(Type) | arguments_list(Type)

arguments_function()

arguments_function(Type) = fun(() -> arguments_list(Type))

arguments_list()

arguments_list(Type) = [Type]

metric()

metric() = #{acc := non_neg_integer(), avg := float(), min := non_neg_integer(), max := non_neg_integer()}

stats()

stats() = #{reds := metric(), time := metric()}

Function Index

bench/2
bench/3
compare/3

Function Details

bench/2

bench(Function::function(), Arguments::arguments()) -> stats()

bench/3

bench(Function::function(), Arguments::arguments(), N::non_neg_integer()) -> stats()

compare/3

compare(Groups::[{atom(), function()}], Arguments::arguments(), N::non_neg_integer()) -> [{atom(), stats()}]


Generated by EDoc