~/talk

Closing Keynote

Talkat RailsConf 2019 · 2019-05-01..05-03· [ruby-on-rails, web-performance]
slides:none on file

Claims concrete gains: ERB compiled-and-evaluated per request runs ~27k renders/sec, caching compilation raises that to ~63k/sec, and defining generated methods pushes it to ~1.4M renders/sec; profiling shows cache-key calculation is the bottleneck. GitHub extracts an analyzer that does template pre-compilation and proposes a Same Format Assumption to resolve ambiguous renders, trading slightly slower boot for much faster runtime and lower memory after fork, with some compatibility caveats. Also notes tiny ergonomics tips like omitting parentheses and preferring single quotes.

AI-written summary · about

  1. 0:00Closing Keynote
  2. 13:24Response Algorithm
  3. 17:2210 Years On Ruby Core!
  4. 19:02Java (1.3?) vs Ruby
  5. 29:03Parse States
  6. 30:23Allocation Count
  7. 33:50ERB Template
  8. 34:31Modified Compile Script
  9. 35:15Capturing Blocks
  10. 35:34Compiled Source
  11. 36:29Different ERB Flavors
  12. 37:10Rendering Speed
  13. 37:33Cache Compilation
  14. 38:06Define a Method
  15. 38:36Method Generation
  16. 39:33Rails Template Methods
  17. 40:03Memory Size
  18. 40:26Instance Variable Visibility
  19. 40:44Compiled Templates
  20. 43:00Templates Require Context
  21. 43:55Too Many Compilations
  22. 45:36Users Controller Controler
  23. 46:14Template Cache Keys
  24. 46:50Template Contents
  25. 47:09Requests and Rendering
  26. 48:05respond_to Controller "Bare" render
  27. 50:56Three Templates
  28. 52:07Profiled The Cache
  29. 53:24Static Analysis
  30. 54:10Same Format Assumption
  31. 55:26Ambiguous Render Problem
  32. 55:55Always Optimize
~/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.