Description Usage Arguments Value Note
Uses RProf to profile an expression which will be repeatedly evaluated until target execution time is met.
treeprof
1 2 3 4 5 6 7 8 9 10 11 12 | treeprof(expr = NULL, target.time = 5, times = NULL, interval = 0.001,
<<<<<<< HEAD
<<<<<<< HEAD
file = NULL, eval.frame = parent.frame(), gc.torture = FALSE,
verbose = TRUE)
=======
file = NULL, eval.frame = parent.frame(), gc.torture = FALSE)
>>>>>>> 75d32eb92dbce607391b8bcf59be3a129015cdd0
=======
file = NULL, eval.frame = parent.frame(), gc.torture = FALSE,
verbose = TRUE)
>>>>>>> 2a504db3379c01ea7079dc7c05a7fc2800124694
|
expr |
expression to profile |
interval |
numeric to dump stack at, NULL to auto-select (see notes) |
target.time |
numeric number of seconds to run benchmark for; this is an
approximate suggestion and only holds when the expression excutes faster
than the |
times |
integer how many times to run the expression; if this is set to
a value other than null parameter |
eval.fame |
an environment to evaluate |
gc.torture |
whether to enable |
<<<<<<< HEAD <<<<<<< HEAD
verbose |
logical(1L) whether to output status to screen |
======= >>>>>>> 75d32eb92dbce607391b8bcf59be3a129015cdd0 =======
verbose |
logical(1L) whether to output status to screen |
>>>>>>> 2a504db3379c01ea7079dc7c05a7fc2800124694
a treeprof object, which is really just a 'data.table' with some attributes attached
timings are approximate as there is some small overhead to manage the repeated tests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.