R/deprec-bench-compare.r
bench_compare.Rd
These functions are deprecated because we now believe that you're
better of performing the comparisons directly, yourself, in order to
generate more informative test failures.
bench_tbls(tbls, op, ..., times = 10) compare_tbls(tbls, op, ref = NULL, compare = equal_data_frame, ...) compare_tbls2(tbls_x, tbls_y, op, ref = NULL, compare = equal_data_frame, ...) eval_tbls(tbls, op) eval_tbls2(tbls_x, tbls_y, op)
| tbls, tbls_x, tbls_y | A list of |
|---|---|
| op | A function with a single argument, called often with each
element of |
| ... | For For |
| times | For benchmarking, the number of times each operation is repeated. |
| ref | For checking, a data frame to test results against. If not
supplied, defaults to the results from the first |
| compare | A function used to compare the results. Defaults to
|
eval_tbls(): a list of data frames.
compare_tbls(): an invisible TRUE on success, otherwise
an error is thrown.
bench_tbls(): an object of class
microbenchmark::microbenchmark()