~/talk

Optimizing With Static Hermes

Talkat Chain React 2024 · 2024-07-17..07-19· [javascript, web-performance]
name:Neil Dhar
links:none on file
slides:none on file

A walkthrough of Static Hermes shows a concrete pipeline: a TypeScript ray tracer from Microsoft runs under Hermes interpreted at ~1300 ms per frame, with soundly declared types and ahead‑of‑time compilation it drops to ~120 ms — a reported 10x speedup. Key tools and passes are the type checker enforcing sound types, optimizer passes like inlining and object elision, and native binary output; the demo and benchmarks demonstrate the optimizations actually work.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Live demo of Static Hermes performance
  3. 3:58What Static Hermes is
  4. 7:50Soundness in Static Hermes type system
  5. 9:15Performance gains from typed properties
  6. 11:17Optimizing array accesses
  7. 13:25Compiler optimizer and inlining
  8. 17:19When inlining is possible
  9. 19:46Types enabling method inlining
  10. 21:08Object elision optimization
  11. 24:23Recap of optimizations
  12. 25:03Summary
~/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.