~/talk

An XSLT Compiler written in XSLT: can it perform?

Talkat XML Prague 2019 · 2019-02-07..02-09· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

A working XSLT compiler written in XSLT compiles itself into a SEF file (~4 MB) and passes about 95% of tests; initial performance is 240 ms for the Java compiler, ~2040 ms when self-compiling on Java and ~90 s in Chrome. Optimization uses eager and lazy evaluation of XPath static context, memoization, token-dictionary shortcuts for short XPaths, a preorder import‑precedence algorithm, a compact sequence-type encoding, and limited multithreading (threads=8). Final measured self-compile on Java falls to ~550 ms and diagnostics improve.

AI-written summary · about

  1. 0:00Intro
  2. 2:02What does the compiler do
  3. 8:50Whats interesting
  4. 9:45Differences between Java and XSLT
  5. 13:18Performance engineering process
  6. 15:10The wrong task
  7. 20:00Measuring performance
  8. 22:20TP
  9. 24:34Java Profiler
  10. 27:11Subtractive Measurement
  11. 28:39repeatability of measurement
  12. 29:44XPath evaluation
  13. 31:01Next phase
  14. 31:38Tree copying
  15. 33:38Algorithms
  16. 35:31Multithreading
  17. 37:08Questions
~/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.