~/talk

A Quest for the Ultimate Template Engine

Talkat MountainWest RubyConf 2015 · 2015-03-09..03-10· [ruby]
slides:none on file

Benchmarks use a Rails scaffold with 1000 records and 100 requests to compare engines and find Haml compiles into much larger Ruby output than ERB, yielding about 7% slower view rendering in that test; Slim and Temple-based engines trade syntax for speed, and a Temple-built experimental engine reports even faster results. A practical fix was attempted by creating hamlX fork to shrink generated Ruby and approach ERB performance, but parity is not fully achieved and the Temple rebuild is still experimental.

AI-written summary · about

  1. 0:00Intro
  2. 0:40My personal story About Ruby template engines
  3. 6:36A Ruby committer The author of Net::HTTP, FileUtils, Ripper, Race, TMail, etc. The author of legendary Ruby book "Ruby Hacking Guide"
  4. 6:55History of Minero Aoki 1999: Became a Ruby Committer 2002: Wrote RHG while he was student ..2013: Had been doing something else, wearing suit 2013: Came back to the Ruby world as a Rails programmer
  5. 12:26We're Ruby programmers If you really care about the app's performance, your app should've written in What we should care is the balance
  6. 15:07Hello, World!
  7. 19:14the Ruby code
  8. 21:20eagle? tomato?
  9. 24:36Worth Trying This If you're really sure that your system's bottleneck lies in the template engine If you want to experience the world's fastest Template engine
  10. 25:14Developer Experience Syntax End User Experience Runtime Performance
~/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.