~/talk

What Can I Do To Monitor and Improve My Shiny App's Performance?

Talkat ShinyConf 2023 · 2023-03-15..03-17· [web-performance]
links:none on file
slides:none on file

Shows how to collect real user Core Web Vitals (FCP, LCP, FID, CLS) by adding the Web Vitals JS library and an R wrapper that exposes implement_web_vitals to emit metrics into Shiny inputs, then saving them to a DB for longitudinal monitoring; demos Lighthouse lab checks vs field data collection. Practical fixes: replace read.csv with data.table::fread (often ~10x faster), load data on demand, use server = TRUE for DT, avoid loading multiple heavy JS plotting libs, and fix CLS with CSS max-width.

AI-written summary · about

  1. 0:00Introduction
  2. 2:27Understanding core web vitals
  3. 5:41Defining performance metrics
  4. 10:11Measuring with lighthouse
  5. 14:22Monitoring with field data
  6. 23:19Tips for performance improvement
  7. 31:00Q&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.