View source: R/findBottlenecks.R
findBottlenecks | R Documentation |
Analyzes a log from a retrieveData run, extracts runtime information for all called functions and identifies most critical bottlenecks.
findBottlenecks(file, unit = "min", cumulative = TRUE)
file |
path to a log file or content of a log as character vector |
unit |
unit for runtime information, either "s" (seconds), "min" (minutes) or "h" (hours) |
cumulative |
boolean deciding whether calls to the same function should be aggregated or not |
A data.frame sorted by net runtime showing for the different data processing functions their total runtime "time" (including the execution of all sub-functions) and net runtime "net" (excluding the runtime of sub-functions) and their share of total runtime.
Jan Philipp Dietrich
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.