Duration) that it took to call
each function n times. The first value is the length of time that it took to call fun[0] n times. The second value is the length of time it took to call fun[1] n times. Etc.
Duration[fun.length] benchmark(fun...)(uint n)Benchmarks code for speed assessment and comparison.
fun | aliases of callable objects (e.g. function names). Each callable object should take no arguments. |
n | The number of times each function is to be executed. |
Duration) that it took to call
each function n times. The first value is the length of time that it took to call fun[0] n times. The second value is the length of time it took to call fun[1] n times. Etc.