R/shiny_benchmark-class.R

#' @title An object of 'shiny_benchmark' class
#'
#' @slot call Function call
#' @slot time Time elapsed
#' @slot performance List of measurements (one entry for each commit)
#'
#' @importFrom methods new
#'
#' @export

shiny_benchmark_class <- setClass(
  Class = "shiny_benchmark",
  representation(
    call = "call",
    time = "proc_time",
    performance = "list"
  )
)

Try the shiny.benchmark package in your browser

Any scripts or data that you put into this service are public.

shiny.benchmark documentation built on Jan. 22, 2023, 1:28 a.m.