~/talk

Performance and Lies

Talkat EuroClojure 2015 · 2015-06-25..06-26· [clojure]
links:none on file
slides:none on file

Yella handles about 1,000,000 events/sec per node and real wins come from measurement, JVM flags, and small code shapes. Benchmarks must boot a fresh JVM or JIT path dependency skews results; Leiningen’s default startup options that prioritize fast code loading drop throughput from ~1M to ~300k unless overridden. Extracting tiny functions fixes an inlining budget 325 bytecodes issue and raises a hot path from 25k → 248k events/sec. Use Flight Recorder for accurate profiling, replace tiny vectors with defrecord/deftype to save ~23%, and watch keyword vs string lookups (1.4ms → 300µs).

AI-written summary · about

  1. 0:00Introduction
  2. 1:57Measuring Performance
  3. 4:00Benchmarking
  4. 13:00Inlining
  5. 15:23Performance degradation
  6. 19:55Safe points
  7. 23:33Closure
~/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.