Profiling: shiny.tictoc

To start using shiny.tictoc in your app, just add the following line somewhere in your UI definition

tags$script(
    src = "https://cdn.jsdelivr.net/gh/Appsilon/shiny.tictoc@v0.2.0/shiny-tic-toc.min.js"
)

To access the benchmarks open the browser’s developer tools (Windows: F12, macOS + + I) and in the console run:

// To export an html file that visualizes measurements on a timeline
await exportHtmlReport()

// To download all measurements as a CSV file
exportMeasurements()