Skip to contents

Monitor performances of the ShinyApp, with calculating time each step takes

Usage

monitor_perf(r = shiny::reactiveValues(), action = "stop", task = character())

Arguments

r

Shiny reactive value, used to communicate between modules (reactiveValue)

action

If the function is called at the beginning of the end of a task, takes "start" or "stop" values (character)

task

Name of the task (character)

Examples

if (FALSE) {
 monitor_perf(r = r, action = "start", task = "Load database")
}