Benchmarking: Recording

  1. Start your app from the terminal and copy the URL that it gives you.
Rscript -e "shiny::runApp('examples/23-performance/Tabsets-App.R', port = 5555)"
  1. Then paste the URL into a record_session() call:
shinyloadtest::record_session("http://127.0.0.1:5555")
  1. On the new window, interact with the app to simulate a “typical” user, including pauses to reflect the thinking time that a real user would need.

  2. Close the app, and shinyloadtest will save recording.log to your working directory.

  3. Move the recording.log file to the folder to store the benchmark results.

mv recording.log examples/23-performance