~/talk

Metro: Scaling JavaScript Build Systems

Talkat JSConf EU 2018 · on Saturday, 2018-06-02· [javascript, developer-experience]
slides:none on file

Metro claims subsecond reloads on codebases with tens of thousands of modules and shows the concrete engineering to get there: file watching via Jest haste map backed by Watchman, Babel transforms dispatched to a worker per core for a reported 6–7× speedup, a multi‑layer cache with a Facebook CI‑populated global layer, numeric module IDs with an indirection table, a binary random access module bundle format to load only needed code, and an open‑source delta bundler that sends kilobyte patches instead of megabytes.

AI-written summary · about

  1. 0:00Intro
  2. 0:48What is Metro?
  3. 2:22Why are we building Metro?
  4. 4:58Monitoring File changes
  5. 10:06Multi-layer cache
  6. 12:50Indirect dependency resolution
  7. 14:31The Journey to a Bundle
  8. 14:47Plain JS bundle
  9. 15:24Random Access Module Bundles
  10. 17:01Require process (previously required)
  11. 17:35Require process (first time)
  12. 20:23Delta Bundler
~/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.