test_pprof {proffer} | R Documentation |
Test pprof()
Description
Do a test run of pprof()
to verify that the
system dependencies like pprof
work as expected.
Usage
test_pprof(
host = "localhost",
port = proffer::random_port(),
browse = interactive(),
verbose = TRUE
)
Arguments
host |
Host name. Set to |
port |
Port number for hosting the local pprof server. Chosen randomly by default. |
browse |
Logical, whether to open a browser to view the pprof server. |
verbose |
Logical, whether to print console messages
such as the URL of the local |
Details
See https://github.com/r-prof/proffer#installation for setup instructions.
See Also
Examples
if (identical(Sys.getenv("PROFFER_EXAMPLES"), "true")) {
test_pprof()
}
[Package proffer version 0.1.6 Index]