~/talk

Power-up JS performance with Static Hermes

Talkat React Native Connection 2024 · on Tuesday, 2024-04-23· [react-native, javascript]
links:none on file
slides:none on file

Meta’s Static Hermes compiles JS/TS ahead-of-time into Hermes bytecode or a standalone native binary, uses TypeScript type info plus JIT-driven profiles to remove runtime checks, and applies inlining and object decomposition to cut instruction counts. Benchmarks claim bytecode ~2× faster and native binary up to ~13× faster than prior Hermes; real app runs show about a 30% execution-time improvement. Demo shows Hermes compiler → VM, C code/assembly emission, and a failing live compare where compiled JS binary can outpace unoptimized C++.

AI-written summary · about

  1. 0:00Introduction to JS performance
  2. 1:16What is Static Hermes
  3. 2:21Interpreting vs byte code
  4. 4:52CPU and assembly basics
  5. 7:24JavaScript vs native execution
  6. 9:34Type information optimization
  7. 11:00Key to performance gains
  8. 12:48Function and object optimization
  9. 13:31JIT compilation in Hermes
  10. 14:14Compiling to native binary
  11. 15:43Performance benchmarks
  12. 17:52Static Hermes results
  13. 18:36Integration with React Native
  14. 19:18Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.