These are useful if you want to see the interim output that
lineprof
creates.
1 2 3 | line_profile(code, interval = 0.01, torture = FALSE)
parse_prof(path)
|
code |
code to profile. |
interval |
interval, in seconds, between profile snapshots. R's timer has a resolution of at best 1 ms, so there's no reason to make this value smaller, but if you're profiling a long running function you might want to set it to something larger. |
torture |
if |
path |
path to line profiling data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.