~/talk

A note on Editor performance

Talkat XML Prague 2020 · 2020-02-13..02-15· [web-performance, frontend-architecture]
links:none on file
links:none on file
slides:none on file

Fonto is a browser WYSIWYM XML editor implemented in JavaScript/React that now handles multi‑megabyte docs and can scale to gigabytes with just-in-time loading. Configuration registers about 23-ish properties per element, so the team builds selector buckets, XPath buckets and a Bayesian predictor that cuts evaluated XPaths and improves startup by roughly 8%. XPath uses lazy iteration and bucket early-fails; schemas are precompiled to JSON/NFAs and indices plus a mutation-observer-driven cache make many queries index-backed queries constant-time.

AI-written summary · about

  1. 0:00Intro
  2. 0:51About FontoXML
  3. 2:53Filter performance
  4. 4:53Accessing configuration
  5. 9:47Order of evaluation
  6. 13:22Processing HTML
  7. 14:20Expert paths
  8. 16:44Update facility
  9. 18:49Optimizations
  10. 20:27Mutation Observers
  11. 22:20Comparison with XSLT
  12. 24:34Future work
  13. 26:36Questions
~/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.