Skip to content

About

Examples of doing performance testing on a shiny applications deployed on Connect.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

shinyloadtest examples

This is a repo showing examples of doing performance testing on a shiny applications deployed on Connect.

You might also be interested in: https://github.com/leesahanders/demo_app_perf/tree/main

It has slides: https://questionable.quarto.pub/improving-app-performance-with-profvis/#/title-slide

Process

  1. Deploy application to Connect
  2. Install shinyloadtest (Node.js 20+, npx shinyloadtest@next)
  3. Add environment variable
  4. Create "Recording" of a typical user's interaction
  5. Run load tests
  6. Analyze the results

Recordings

The recording.log files in python-example-nba and r-example-geyser were made again on 2026-10-29. The Node.js shinyloadtest made them (shinyloadtest@next, version 2.0.0-alpha.6). They replay with no errors against Posit Connect 2026.07.0. The README in each folder lists the package versions that its recording matches. The recording in python-example-basic was not made again.

Additional resources

There are links to various additional and recommended resources sprinkled throughout, however here a few overview level recommendations:

Benchmarking / profiling tools

Mastering Shiny Shiny in production: Principles, practices, and tools Scaling and Performance Tuning in RStudio Connect Simulate runtime settings and events: Shimmer Shiny Sizing

shinyloadtest

shinytest2

CRAN whales case study

Related packages

About

Examples of doing performance testing on a shiny applications deployed on Connect.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages