~/talk

Lessons learnt pushing browsers to the limit

Talkat JSConf.eu 2010 · 2010-09-25..09-26· [web-performance, web-platform]
slides:none on file

A Java NES emulator gets translated to JavaScript, writes a pixel buffer to canvas and after a patch that diffs frames it achieves 10× speedup and sustains 60 FPS while emulating about 10,000 CPU instructions per frame (~3–4 million/sec). Chrome V8 benefits from object layout and hidden classes, prototypes improve tight-loop allocation, timing uses setTimeout plus a busy loop for accuracy, and sound falls back from Firefox’s Audio Data API to a tiny Flash writer.

AI-written summary · about

  1. 0:00Intro
  2. 1:29JavaScript
  3. 3:07Pixel
  4. 3:35Emulator
  5. 7:19Micro optimizations
  6. 7:56Safari
  7. 8:36Firefox
  8. 9:42Explorer
  9. 10:07Prototypes
  10. 13:06Benchmark
  11. 13:52Yaga
  12. 14:12Accurate timing
  13. 15:20Dynamic sound
  14. 15:40Audio data API
~/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.