|
Awkl
|
Functions | |
| auto | runBenchs (string|array names, array|unassigned args, number times=10, number warmups=0) |
| Run benchmark on functions. | |
| auto | add (x) |
| auto | printSummary (stats) |
| auto | benchOne (R, fn, args, times, warmups) |
| auto bench::add | ( | x | ) |
| auto bench::benchOne | ( | R | , |
| fn | , | ||
| args | , | ||
| times | , | ||
| warmups | ) |
| auto bench::printSummary | ( | stats | ) |
| auto bench::runBenchs | ( | string|array | names, |
| array|unassigned | args, | ||
| number | times = 10, | ||
| number | warmups = 0 ) |
Run benchmark on functions.
| names | Functions to run |
| args | Indexed array of arguments to pass to the functions, or unassigned to not pass any |
| times | Number of times to run the functions for measuring |
| warmups | Number of times to run the functions before measuring |