Description Usage Arguments Details Value Examples
A benchmarker for measuring cache misses of multiple runs of one or more functions.
1 | cachebench(..., type = "miss", events = "total", nreps = 10)
|
... |
Expressions to be benchmarked. |
type, events |
See |
nreps |
Number of replications for each expression. |
Currently only total cache misses are profiled. Future versions
will allow the full generality of the systme.cache()
function.
A dataframe (class "cachebench") containng the timings and some basic summary statistics.
1 2 3 4 | ## Not run:
pbdPAPI::cachebench(rnorm(1e4), rnorm(2e4), rnorm(3e4))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.