to_rprof | R Documentation |
Convert pprof samples to Rprof format.
to_rprof(pprof, rprof = tempfile())
pprof |
Path to pprof samples. |
rprof |
Path to Rprof samples. |
Path to pprof samples.
if (identical(Sys.getenv("PROFFER_EXAMPLES"), "true")) { pprof <- record_pprof(replicate(1e2, sample.int(1e4))) to_rprof(pprof) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.