~/talk

Optimizing Performance in Shiny: Tips and Best Practices

Talkat ShinyConf 2025 · 2025-04-09..04-11· [web-performance]
links:none on file
slides:none on file

Shows a 3-plot, 1-table Shiny example (5k sample, full data ~900k) and benchmarks CSV readers (broom faster among CSV readers) versus parquet files (arrow) load fastest; uses RStudio profiler (prof) and JavaScript shinyTikTok for client-side timings plus microbenchmark for I/O. Demonstrates quick fixes: switch to parquet, replace ggplot with plotly and DT with server-side processing, move repeated filtering into a single reactive, add bindCache + bindEvent or future/promises (extended task) to offload long work; deployed to Posit Connect but heavy concurrent load breaks the free instance.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:04Optimization cycle overview
  3. 10:19Understanding computer performance
  4. 23:01Benchmarking the mock app
  5. 31:23Profiling with RStudio
  6. 55:10Data optimization strategies
  7. 1:51:23Optimizing reactivity in Shiny
  8. 2:37:33Async functionality in Shiny
  9. 2:59:07Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.