~/talk

Speeding Up Plots in R/Shiny

Talkat posit::conf(2023) · 2023-09-17..09-20· [web-performance]
slides:none on file

Slow plot rendering traces to three concrete causes and fixes: expensive data prep, naive plotting of millions of points, and library-level inefficiencies. Move aggregation into the database and compute five summary stats in DB for boxplots instead of fetching all rows. Replace dense scatter clouds with summaries or interactive controls to reduce rendered marks. Enable browser GPU rendering like WebGL/boost mode and prefer faster serializers such as switch to RJSON (25x reported) to cut client-side latency.

AI-written summary · about

  1. 0:00Intro
  2. 1:03Inefficient Data Preparation
  3. 2:07Showing Too Much
  4. 2:54Inefficient Libraries
  5. 3:37Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.