Hazel reports

Reports on the Hazel work: most of them on making Hazel responsive enough for its livelits to feel like plain apps (what we measured, what we found, what we fixed), and others on what else comes up, such as a survey of the UI, why a branch failed CI, or a meeting's agenda. Matthew Hammer.

Where this work is tracked, day to day: the Hazel Work Dashboard. The series' source: matthewhammer/hazel-reports on GitHub.

  1. Gnome World: Which Parts Are HazelGnome World: Which Parts Are Hazel
    ^report(64) · 2026-11-24 · work in progress

    Which parts of Gnome world are Hazel and which JavaScript, asked of event handling, physics, the world's state and the drawing. Hazel decides what the world is and how the gnome moves: the plan from a seed, the gnome's step 60 times a second (0.016 ms a call, compiled by hazel-jit), the beavers' minds, the villagers' words, the roots. JavaScript holds all the state (nine arrays of 186,368 tiles), takes the input, runs everything else that moves (the water is 2.2 ms of a 2.4 ms step) and draws it all: 92% of the code, 70% of it drawing. Clover the rabbit is Hazel's gnome step with JavaScript around it.

  2. Hazel as an npm Package: What to Decide NextHazel as an npm Package: What to Decide Next
    ^report(63) · 2026-11-23, revised 2026-11-24 · work in progress

    Where the hazeljs package stands at 0.0.11, for Matthew and Cyrus: one PR (#2857) that it is built from, how that branch differs from dev, and every game in hazeljs-examples timed four ways. The package's jit runs the games 317× as fast as its interpreter (geometric mean over 45 operations), from 4.2× to 4,955×: on searches it is as fast as code compiled ahead of time, but on light calls with a large state most of its time goes to converting values in and out. Compiled ahead of time, the games run 2,392× as fast as interpreted, and the five written by hand in JavaScript about 16× faster again. A day later, with #2857's converters by declared type, the jit ran them 9.0× as fast again on the benchmark's repeated positions; on each game's own run of states it takes 0.91 of the time of code compiled ahead of time, and 0.76 with the converters' memos kept as links on the objects rather than in WeakMaps (build 6); 2.2 times its own when every state is a fresh copy. Then the decisions before it merges into dev.

  3. One Search Tree for Two PlayersOne Search Tree for Two Players
    ^report(62) · 2026-11-21 · work in progress

    A prototype of Matthew's tree-streams for Hazel's Checkers search: one tree of boards both players grow, answers kept as ranges and found by a partial order. When the two players' searches end on the same move, the one that comes second does about half the work; lining them up costs one player a move of look-ahead, and black 6 with white 5 runs 63% faster than Hazel now. Keeping the tree itself halves the moves worked out but saves no time in JavaScript, and deepening a step at a time saves nothing here.

  4. Does Hazel Repeat Itself? Checkers, Six Moves AheadDoes Hazel Repeat Itself? Checkers, Six Moves Ahead
    ^report(61) · 2026-11-21 · work in progress

    Hazel playing Checkers against itself, looking six moves ahead: two thirds of what it searches it has searched before, nearly all within the same move's search, never at the same look-ahead in the other player's. A memo table each would save a third of its time; sharing one between the players saves nothing more.

  5. How Fast Is Hazel? Five Games, Three WaysHow Fast Is Hazel? Five Games, Three Ways
    ^report(60) · 2026-11-20 · work in progress

    Cyrus asked how fast Hazel is. Five games of the Hazel activities, each run three ways with the same rules and strategy: interpreted by hazeljs, compiled ahead of time by hazel-jit (about 3,300 times as fast), and written in plain JavaScript (about 13 times as fast again).

  6. An Open Font for Hazel’s InterfaceAn Open Font for Hazel’s Interface
    ^report(59) · 2026-11-19 · work in progress

    Since hazelgrove/hazel#2837, Hazel ships no copy of Helvetica Neue. Eleven open fonts, under the SIL Open Font License, side by side in Hazel's interface and measured against Helvetica Neue, for the team to choose one Hazel can ship.

  7. What Could Merge TodayWhat Could Merge Today
    ^report(58) · 2026-11-19 · work in progress

    For the Hazel team's merge-a-thon of 2026-11-19: our 39 open PRs that are not livelits, sorted by what each needs. Fourteen merge cleanly into today's dev with CI green and need only a review, one of them already approved; eight need a decision first.

  8. What the Livelits PR CompilesWhat the Livelits PR Compiles
    ^report(57) · 2026-11-18 · work in progress

    hazelgrove/hazel#2819 uses hazel-jit for livelits only: their views, their updates, and each slide's whole run, to draw them sooner. What each use does, what makes livelits responsive, and how it reaches dev.

  9. What Still Falls BackWhat Still Falls Back
    ^report(56) · 2026-11-18 · work in progress

    Where hazel-jit's same-answers check stands on build 50, and every case where the interpreter still does the work: the limits to lift, the open decisions, holes (John's project, kept apart) and stuck terms (later).

  10. Holes Across the BoundaryHoles Across the Boundary
    ^report(55) · 2026-11-17 · work in progress

    A starter project for hazel-jit: let a value with a hole cross into compiled code and out again unopened, instead of sending the whole call back to the interpreter.

  11. Same Answers as the InterpreterSame Answers as the Interpreter
    ^report(54) · 2026-11-16, revised 2026-11-24 · work in progress

    hazel-jit after the 2026-11-13 meeting: compiled code now gives the interpreter's answers, checked in CI on 313 programs. Six of the seven planned changes are done. Next: mixed mode, and seventeen questions for the team. Revised since: lists as arrays and holes, a page's list crossing at every size, what a closure keeps, records held the page's way, with five decisions for Matthew, and a sequence type beside List.

  12. Fewer, Deeper FixesFewer, Deeper Fixes
    ^report(53) · 2026-11-10 · work in progress

    Matthew Keenan's reply to report 048's ledger of costs, in his words, with Matthew Hammer's replies and our response to each point. His message: fix the costs together, in a few well-chosen changes, not one at a time. The series' numbers bear out each of his points that it measured, with two refinements: a hash belongs on the node it describes, and a probe's environments are large only on their way to the page. Six fixes, all from his message, would address the causes of 116 of the 196 costs: Merkle hashes in the grammar, cheap ids kept temporary inside the evaluator, a type checked once, the worker as a language server, per-item statics on dev, and Bonsai for derived state. With the questions the message left open, for a gut opinion.

  13. What Mattered, RankedWhat Mattered, Ranked
    ^report(52) · 2026-11-10 · work in progress

    Five days of making a livelit's slider in Hazel fast, summarized for the team. On the Witch slide a slider's step now shows in the picture 20 to 30 ms after the click (4.2 to 6.5 s on 11-08), and a drag runs at 55 to 58 frames a second. Ten changes did it, ranked by how much each helped: sending the worker's answer without what the page does not read, and compiling the slide's whole run to JavaScript, did most; of the page's own work after the picture, keeping the livelits a change did not touch. With an order for redoing the work by hand in small increments, each with its size, its tests and what it needs first.

  14. Hazel-JIT Status ReportHazel-JIT Status Report
    ^report(51) · 2026-11-09 · work in progress

    What does hazel-jit, Hazel compiled to JavaScript, give and cost today? The same Hazel code runs 13 to 1,140 times faster than on Hazel's interpreter; on the Witch slide, build 12 shows a slider's click in the picture 19 to 24 ms later (4.2 to 6.5 s before hazel-jit ran the slide), and a drag runs at about 60 frames a second. Compiling a livelit's definition takes about a millisecond, a whole slide's program 87 to 299 ms, once. How to use it in your own PR today (the branch, the API, the command line, the tests and the Firefox check), what has been added since its first version, its limits, and the next steps under way. For colleagues and their agents.

  15. Toward 60 fps: hazel-jit So FarToward 60 fps: hazel-jit So Far
    ^report(50) · 2026-11-08 · work in progress

    Can a livelit's slider in Hazel move at 60 frames a second? On the Witch slide, a drag now runs at 48.4 fps with views and the slide's whole run compiled to JavaScript by hazel-jit, the picture following at every frame and the median frame one display frame (17.1 ms); a step shows in 176 to 290 ms, down from 4.2 to 6.5 s. Eight numbered builds of one branch, each measured the same way in Firefox, show how it got there; compiled code runs 29 to 1,140 times faster than the interpreter, and the page's own view is most of what is left. Reports 045 to 049 together, for the meeting with Cyrus, with screenshots and a frame-rate overlay to try it yourself.

  16. The Witch’s Run, Compiled, in the PageThe Witch’s Run, Compiled, in the Page
    ^report(49) · 2026-11-08 · work in progress

    The Witch slide's whole program, compiled to JavaScript by hazel-jit and run in the page at a slider's step instead of waiting for Hazel's worker. In Firefox it answers in 8 to 21 ms (2 to 3 ms for the next event of a drag), all 53 livelits' views included, with the same drawings on every polygon slide. On every step the picture changed at the page's first redraw, 286 to 386 ms after it, against 1.35 to 1.74 s with nothing compiled, once a step back to a slider's starting value stopped being taken for an undo. What is left is the page's own work around the run: statics, the whole slide's view drawn twice, and the program compiled again after each step. Try it yourself, with a frame-rate overlay. Also why the first numbers, in Node, measured a program the page never holds.

  17. Why Hazel Is Slow: A Thousand CutsWhy Hazel Is Slow: A Thousand Cuts
    ^report(48) · 2026-11-08 · work in progress

    For Cyrus, who asked why Hazel is slow: Matthew says death by a thousand cuts, and this is the substance behind it. The 196 costs the series has measured, from 33 reports, side by side as a treemap and a ledger, each with its number, workload, report and status. They come from four design choices applied everywhere: values held as terms, whole-program work on every edit, values moved as terms across boundaries, and an interpreter that pays for the editor at every step. Most fixes are off dev; the Witch slide's small edit, cut by cut, from 4.2–6.5 s to 1.3–1.7 s, still about 80 times a 60 fps floor.

  18. First-Order Data in a Form of Its OwnFirst-Order Data in a Form of Its Own
    ^report(47) · 2026-11-08 · work in progress

    A design note for dev (^ticket(718)) and its experiments: closed, first-order values as a value form of their own in the core language, with no source ids, holes, closures or sharing. Measured on the Witch slide: as data, its picture is 3 times smaller, 2.5 to 3.9 times quicker to send and 50 times quicker to print, but no quicker into JS; and building values as data would save the evaluator a couple of percent at most, so the run itself has to be compiled. On dev, about 30 places read a value's ids, and none maps a first-order value back to its source. Beside Fumola's Value; treemaps; then a plan for the group.

  19. BuckleScript, ReScript and Melange, beside hazel-jitBuckleScript, ReScript and Melange, beside hazel-jit
    ^report(46) · 2026-11-07 · work in progress

    Two programs compiled to JavaScript by ReScript, Melange, js_of_ocaml and hazel-jit. Report 043's Petri net rule: Melange 0.46 µs a call, ReScript 0.55, by hand 0.90, hazel-jit 1.59, the interpreter 358. The Witch slide's picture view: all within 15%, 0.17 to 0.19 ms (about 5,200 to 6,000 fps); a frame 3.4 ms compiled against 155 ms in the Hazel test, and in the app, in Firefox, 3.0 ms a render compiled against 87 ms on the interpreter. But a small edit there shows in the picture 5 to 9 s later, compiled or not, and 70% of that is the run's 5.4 MB answer going from the worker to the page: shared and encoded in the worker, decoded on the page; the evaluator is 18 to 20%. The answer was mostly one module, Drawing, written out whole in a probe sample's environment, 3.8 MB; two cuts and the sharing dropped bring a small edit to 1.3 to 1.7 s, the evaluator now most of it. And a speculation on compiling the run itself. The code side by side, a page per compiled view, the drawings, and what holds across both.

  20. hazel-jit: Livelit Views Compiled to JavaScripthazel-jit: Livelit Views Compiled to JavaScript
    ^report(45) · 2026-11-06 · work in progress

    How much faster Hazel runs as JavaScript compiled from it by hazel-jit: a Polygons render, model to page, 14.1 ms on the interpreter and 0.38 ms compiled, drawn straight from its JS; an event's update 0.02 to 0.08 ms against 68 to 83; the same drawings in Firefox on six slides, each click shown sooner. And now a slide's whole run: the Witch slide's 2,222-line program, compiled, runs in 4.2 to 5.0 ms in Node against the interpreter's 502 to 529 ms, and a slider's step, compiled once with its model a parameter, in 2.3 to 2.5 ms against 684 ms, with the same values; not yet in the app. The way back as a diff, and lists as trees to come. For the meeting with Cyrus on 2026-11-11.

  21. Hazel Listings in an ArticleHazel Listings in an Article
    ^report(44) · 2026-11-06 · work in progress

    How a blog post or an article can show its Hazel code in Hazel's own editor, with go to definition from one listing to another: a small script, hazel-listings.js, the messages it trades with Hazel's frame, what we learned making it, and its limits today.

  22. Scripting a JavaScript App in HazelScripting a JavaScript App in Hazel
    ^report(43) · 2026-11-06 · work in progress

    How Messed Up Dress Up lets players script its rooms in Hazel through hazeljs, and how another JavaScript developer can do the same: the pattern, six steps, a worked Petri net example, live on the page: its rules in Hazel's own editor, run by hazeljs from npm (a rule call about 3.5 ms, a build a few hundred), and the limits today.

  23. Agenda for November 13Agenda for November 13
    ^report(42) · 2026-11-06 · agenda · work in progress

    The topics for Friday's meeting (2026-11-13, 10:00 Mountain, moved from Wednesday 11-11), carrying over the work that continues from 2026-11-05: undo in O(log n), in space and in time, and why not yet; hazel-jit, livelit views compiled to JS, with BuckleScript and ReScript to compare; and hazeljs for other JavaScript developers (a README PR to dev, and a report on how Messed Up Dress Up scripts its rooms in Hazel).

  24. A Grammar LivelitA Grammar Livelit
    ^report(41) · 2026-11-04 · work in progress

    A livelit whose model is a grammar: production rules, in order, edited in Hazel; the first prototype, on IMP's rules, and what comes next (a parser at run time, and programs in the language as tiles).

  25. Converting JS Values DirectlyConverting JS Values Directly
    ^report(40) · 2026-11-03 · work in progress

    What converting JavaScript values directly into Hazel values saves at the call boundary of Hazel's JS library, in time and in space: the package's build against the lib-floor, lib-closures and handles trials, measured on GitHub.

  26. Hazlets, So FarHazlets, So Far
    ^report(39) · 2026-11-03 · work in progress

    A Hazlet is a JavaScript program whose event handlers are written in Hazel; Messed Up Dress Up is the first and only one so far. What has been built since 2026-10-20 (the library on #2711 and #2719, tiles in a frame, the game's Scripting tab, hazeljs 0.0.1 on npm), where each piece stands, and what comes next.

  27. Undo, in Time and SpaceUndo, in Time and Space
    ^report(38) · 2026-11-03 · work in progress

    What undo costs in Hazel's editor. Space: an uncapped history of whole editor states kept 1,048 MB after 12 edits on #2597, 159 with Andrew Blinn's compaction, and how that was found. Time: every step is linear in the program; an undo is a redo plus a rebuild of the modular editors' outline, and it rebuilt the syntax twice, which a one-line fix takes 40% off. With the sidebar shown, every edit pays for the outline. Where it stands and what is next.

  28. Agenda for November 5Agenda for November 5
    ^report(37) · 2026-11-02 · agenda · work in progress

    The topics for Thursday's meeting (2026-11-05, 10:00 Mountain; moved from Wednesday), in four parts: performance and the cost of undo; Hazlets, Hazel embedded in a JS program's event handlers (Messed Up Dress Up's scripts, the library, a prototype npm package); DSL tile editors as a kind of livelit; and long types shown whole.

  29. What an Undo CostsWhat an Undo Costs
    ^report(36) · 2026-11-02 · work in progress

    An edit, an undo and a redo in Hazel's editor each grow in proportion to the program, from 400 to 6,400 definitions. The incremental caches work; the passes around them don't scale. Two fixes on #2635, why an undo costs about three edits, and what O(log n) would take: the top level as a balanced tree.

  30. Paying Only for What Is WatchedPaying Only for What Is Watched
    ^report(35) · 2026-10-26 · work in progress

    Hazel's evaluator pays for its live features (probes, the stepper, results kept across edits) on every pass, even where none is in use. Eight ways to stop paying for them there, each with what it saves, what it would cost the features, and how much code it touches.

  31. An Official Hazel JS Library?An Official Hazel JS Library?
    ^report(34) · 2026-10-26 · work in progress

    The pros and cons of making Hazel-as-a-JS-library (#2711, #2719, the embed frame) official: what Messed Up Dress Up's game scripting has shown (typed rules, holes that still run, a call boundary that costs too much), the uses beyond it, the costs of keeping an API, and a two-step way to get there.

  32. Game Scripts in Hazel, a Case StudyGame Scripts in Hazel, a Case Study
    ^report(33) · 2026-10-25 · work in progress

    Writing Messed Up Dress Up's game rules in Hazel: what a rule sees today (Event, Cmd, and a Globals that is really each room's view), the game's eleven words for where, and a proposal: one readable address for every place, thing and person, with Globals, RuleState and Cmd built on it. Every address of the default world in an appendix.

  33. Scripting, Three Ways, TimedScripting, Three Ways, Timed
    ^report(32) · 2026-10-23 · work in progress

    Messed Up Dress Up's 📜 Scripting tab, timed with JS, Fumola and Hazel as every room's default: the tab opened, each engine ready, Hazel's tiles ready box by box, then each script scrolled into view and visited at max size, with the game's frame times throughout; three rounds each, on GitHub's computers.

  34. Reviews Still OpenReviews Still Open
    ^report(31) · 2026-10-23 · work in progress

    What reviewers have said on Matthew's open hazelgrove/hazel pull requests that has not been acted on yet: each piece of feedback, whether a later commit or reply answered it, and what is left.

  35. Game Scripts in Hazel, Two Days InGame Scripts in Hazel, Two Days In
    ^report(30) · 2026-10-23 · work in progress

    Since the 2026-10-21 meeting: Hazel as Messed Up Dress Up's script system. The rules run in Hazel and in Fumola beside the game's JS; a World move with the game's own map takes about a millisecond at every size, but only with library fixes the game's build does not have yet. Where the goal stands, and the plan.

  36. Three bars on a log scale: wasm costs Fumola 1.4 times its native speed, a Hazel step about 15 times a Fumola step, and a Hazel list loop 141 times Fumola's.Three bars on a log scale: wasm costs Fumola 1.4 times its native speed, a Hazel step about 15 times a Fumola step, and a Hazel list loop 141 times Fumola's.
    ^report(29) · 2026-10-22 · work in progress

    Hazel and Fumola on the same eight small programs, timed, step-counted and profiled (^ticket(545)): wasm costs Fumola 1.2 to 1.5 times; Hazel takes half Fumola's steps but each costs about 15 times as much; a function Hazel's JS library returns re-evaluates what it holds at every call, and a list loop re-types its list, quadratic. First fixes for both, and Fumola taking JSON values, measured on trial branches.

  37. Two columns of code, Hazel and Fumola, side by side.Two columns of code, Hazel and Fumola, side by side.
    ^report(28) · 2026-10-22 · work in progress

    Each construct Dress Up's rules use, in Hazel and in Fumola, the traps found translating them (Fumola's inverted text !=, no text patterns, Nat and Int apart), how each takes a value from JS, and one rule both ways (^ticket(543)).

  38. Time per call against the map's size: the passed and list-walking versions climb, the neighbours-only lines stay low, and Fumola's HashMap stays flat at the bottom.Time per call against the map's size: the passed and list-walking versions climb, the neighbours-only lines stay low, and Fumola's HashMap stays flat at the bottom.
    ^report(27) · 2026-10-22 · work in progress

    Dress Up's World rule in Hazel at its best (all 14 PRs, the depth-1 memo, the argument binding) and in Fumola (wasm), 3x3 to 64x64 (^ticket(542)): Fumola with the world held in a HashMap answers in about 0.5 ms and 450 steps at every size; passed or walked, both grow with the map, Fumola 2.4 to 10 times faster.

  39. Three branches: dev, #2661 off it, and #2681 merged onto #2661, its own commit alone left above.Three branches: dev, #2661 off it, and #2681 merged onto #2661, its own commit alone left above.
    ^report(26) · 2026-10-22 · work in progress

    Alexander asked whether #2681 needs #2661 and suggested retargeting its base. It does: its memo is keyed by #2661's type hash. Merged with #2661's branch and retargeted, #2681 shows reviewers only its own commit (^ticket(541)).

  40. A Hazel rule's cost per call against the world map's size: quadratic with the annotated helper (153 ms at 16x16), linear without it (22.6 ms), flat when only the neighbouring squares are passed (about 0.9 ms).A Hazel rule's cost per call against the world map's size: quadratic with the annotated helper (153 ms at 16x16), linear without it (22.6 ms), flat when only the neighbouring squares are passed (about 0.9 ms).
    ^report(25) · 2026-10-22 · work in progress

    Why a call into Hazel is slow for Dress Up's 16x16 World map (^ticket(531)): one rule call taken apart, its cost quadratic in the map through an annotated helper, linear without it, and nearly flat when only the neighbouring squares are passed. Measured before and after the 14 open performance PRs: #2681 alone makes the annotated rule linear (144 to 20.6 ms), and together they halve the compile.

  41. A module binding's definition: analyzed by the let and then again before #2651, by the let only after, its elaboration read back.A module binding's definition: analyzed by the let and then again before #2651, by the let only after, its elaboration read back.
    ^report(24) · 2026-10-21

    For Matthew and Alexander's review of #2651 (statics reads a module definition's elaboration back instead of analyzing the definition a second time): how Hazel is built around it, its subsystems, shared representations and protocols, the PR's change in those terms, what a reviewer checks, Alexander's answers to five questions, and the follow-up, #2717, a module binding as a non-recursive let.

  42. #2635's CI runs as tick marks: 97 red and grey from 1 October to report 18, none green; six since, two green and four cancelled by a newer push.#2635's CI runs as tick marks: 97 red and grey from 1 October to report 18, none green; six since, two green and four cancelled by a newer push.
    ^report(23) · 2026-10-19

    What happened after ^report(18): #2635 (livelits × modular editors) passed CI twice on 2026-10-19, its first green runs since it was made, with all three causes fixed, one of them a real bug in incremental statics. Of ^report(18)'s five next steps two are done, two partly, and one, the plan for merging into dev, is for the meeting with Cyrus (^report(20)).

  43. Week in Hazel's 33 PR credits as squares: 29 name the right author, 4 do not.Week in Hazel's 33 PR credits as squares: 29 name the right author, 4 do not.
    ^report(22) · 2026-10-19 · work in progress

    How Week in Hazel, Andrew Blinn's AI-written weekly digest, credits each team member's work: right for 29 of 33 credited PRs, wrong where two people share the name "Matt" or where a merge hides the author, with a list of corrections.

  44. The 19 performance PRs in four columns by area, each a box coloured by its verdict: 16 keep results the same, two change one in a corner, one is a spike.The 19 performance PRs in four columns by area, each a box coloured by its verdict: 16 keep results the same, two change one in a corner, one is a spike.
    ^report(21) · 2026-10-19 · work in progress

    Whether the performance PRs keep Hazel's results the same: 16 of 19 keep types and values unchanged, two change a result in a corner case, and one, #2490, is a wasm spike not meant to merge.

  45. A calendar page for October 21 beside seven bars, one per agenda item, each in the colour of its status.A calendar page for October 21 beside seven bars, one per agenda item, each in the colour of its status.
    ^report(20) · 2026-10-19

    An agenda, kept up to date until the meeting: the topics Matthew brings to his meeting with Cyrus, most of them Cyrus's own questions, each with where it stands and what it needs from the meeting.

  46. Four bars: 3 surfaces with tiles you edit, 3 with read-only tiles you can select, 16 with tiles you can only look at, 17 with plain text.Four bars: 3 surfaces with tiles you edit, 3 with read-only tiles you can select, 16 with tiles you can only look at, 17 with plain text.
    ^report(19) · 2026-10-19

    Every place the Hazel UI shows a term, pattern, type or value, and how it draws it: tiles you edit, read-only tiles you can select, tiles you can only look at, or plain text. For Cyrus's asks about livelits' model views and the explainer's examples, what is missing is selection, not tiles.

  47. Four rows of tick marks, one per CI run since 1 October: #2635's row all red and grey, none green; the rows for #2597, #2469 and #2687 mostly green.Four rows of tick marks, one per CI run since 1 October: #2635's row all red and grey, none green; the rows for #2597, #2469 and #2687 mostly green.
    ^report(18) · 2026-10-19

    Why CI fails on #2635, livelits × modular editors: in 97 runs since 2026-10-01 it has never passed, while both parents pass alone with the same tests. The same three gaps have been there from the first run: per-member module analysis meets Modules II (8 tests), dev's canonical completion meets a livelits table test (1), and one livelits document elaborates differently per item (1, cause not found). The fix for the 8 already exists, green, on Andrew's #2687.

  48. Fourteen boxes, one per performance PR to dev, in four columns, the merge waves, coloured by what they change; three red dashed lines mark the pairs that conflict.Fourteen boxes, one per performance PR to dev, in four columns, the merge waves, coloured by what they change; three red dashed lines mark the pairs that conflict.
    ^report(17) · 2026-10-15

    For whoever reviews them: the fourteen open performance PRs to dev, each with what it buys and where that was measured, the honest reasons to wait, and what to look at. All are green and merge cleanly one at a time; none is reviewed. On dev they make nested-function statics linear (5.3 s to 13 ms at eight levels), loading text 2.5× faster, and re-evaluation after an edit 2.7 s to 0.41 s in a 400-definition program; on the livelits branches more. Three pairs conflict and three PRs conflict with #2469. A merge plan in four waves, checked by merging them in order: nine go in clean, five need a hand resolution, and with those all fifteen (a fifteenth, #2608, was missing from the list) build and pass the full test suite, 4,756 tests.

  49. Two bars: frozen during one 1.5-second drag of Full Body's slider, #2635's head 4.0 s, keeping only the newest preview 2.2 s. Below, each round's difference from the head: the fix's ten dots all left of zero, the head against itself scattered around zero.Two bars: frozen during one 1.5-second drag of Full Body's slider, #2635's head 4.0 s, keeping only the newest preview 2.2 s. Below, each round's difference from the head: the fix's ten dots all left of zero, the head against itself scattered around zero.
    ^report(16) · 2026-10-15

    Two fixes for a slow slider drag on #2635, measured with the builds side by side in one browser, drag by drag, and the head measured twice as a control. Keeping only the newest preview while one is on its way cuts the freeze in a long 1.5-second drag of Full Body's slider from 4.0 to 2.2 s, lower in all ten rounds where the head against itself differed by 0.1 s: it sends fewer repaints, each as slow as before. In UX mode the effect hides in the noise. Evaluating the livelit views in the worker shortens no drag, and in UX mode makes the final picture about a quarter of a second later. Measured a session at a time, neither fix could be told from the drift.

  50. Three rows of frame ticks over one 1.5-second slider drag: Dress Up's packed evenly with no freezes; Kids' Choice's with small gaps, frozen 0.3 s; Full Body's in bursts between long freezes, frozen 2.5 s, its picture final about a second after the finger lifts.Three rows of frame ticks over one 1.5-second slider drag: Dress Up's packed evenly with no freezes; Kids' Choice's with small gaps, frozen 0.3 s; Full Body's in bursts between long freezes, frozen 2.5 s, its picture final about a second after the finger lifts.
    ^report(15) · 2026-10-15

    The same 1.5-second slider drag in Messed Up Dress Up (then a plain-JavaScript game), and in its livelits on #2635, in one browser. Dress Up never froze and its picture was final as the finger lifted, at about 1.4 ms of JavaScript per change. Kids' Choice froze 0.11 s and was final 0.13 s after; Full Body, the whole friend in Hazel, froze 2.9 s and was final 1.1 s after, at about a second per change. A week of fixes took these from 4.6 and 8.6 s. Then a guess, argued step by step, for September 2027: small livelits immediate, Full Body a short lag. Updated later on 2026-10-15: counting shapes shows the comparison is like for like only for the friend alone (46 shapes against Full Body's 49); Dress Up's places draw up to 30 times as much, and still never froze.

  51. A line rising from 399 MB to 1,787 MB over 15 slider edits on Full Body, about 92 MB per edit, above a flat band for every cache and id-keyed table.A line rising from 399 MB to 1,787 MB over 15 slider edits on Full Body, about 92 MB per edit, above a flat band for every cache and id-keyed table.
    ^report(14) · 2026-10-14

    A tab on #2597 keeps about 92 MB more after every slider edit on Full Body, without levelling off. It is not the caches (each tried in a build of its own) and not any long-lived table (each counted after every edit): what stays is whole versions of the editor's state, made by every stage of an edit. Which reference holds them is still open, since a heap snapshot kills this tab; the lead is ValueHash's WeakMap of about two million entries. Updated later on 2026-10-14: a heap snapshot named it, the undo history, which kept a whole page model per edit, uncapped by default. Andrew Blinn's compaction, ported, with the newest undo entry kept whole so undo stays as fast as before, keeps the tab level: 208 MB after 12 edits, against 1,048. Both are on #2597 and #2635.

  52. Paired bars for Full Body's four sliders, from the top of the program down: a slider release's request to the evaluation worker, before and after: shirt width 17.5 to 3.6 ms, alien fingers 20.6 to 7.3, eye angle 23.9 to 16.5, tongue width 27.5 to 20.8.Paired bars for Full Body's four sliders, from the top of the program down: a slider release's request to the evaluation worker, before and after: shirt width 17.5 to 3.6 ms, alien fingers 20.6 to 7.3, eye angle 23.9 to 16.5, tongue width 27.5 to 20.8.
    ^report(13) · 2026-10-14

    A slider release's request to the evaluation worker on #2635: building its projection of the statics now takes under a millisecond on every Livelit Playground slide, since the per-item statics say which keys they changed instead of the projection walking both maps. What is left grows with how far down the program the slider sits, since every item above it carries the program below. The three commits behind it, carried to #2469 (one change each, its quick tests whole), and what dev and #2597 need first: per-item statics.

  53. Paired bars for three slider edits on Full Body: the shapes each changes in today's flat picture against the nodes it changes in a picture of groups with transforms: shirt width 39 to 13, arm angle 30 to 8, hand angle 24 to 2.Paired bars for three slider edits on Full Body: the shapes each changes in today's flat picture against the nodes it changes in a picture of groups with transforms: shirt width 39 to 13, arm angle 30 to 8, hand angle 24 to 2.
    ^report(12) · 2026-10-13

    Full Body rebuilt as a picture of groups with transforms, flattened to today's picture exactly: every slider edit that changes the picture changes at most 14 nodes (it was up to 39 shapes). The computation follows only in part: the eye edits' trace distance falls about ten points; with the tree flattened at the end, the body edits' rises a little, the flattening's own steps; Hazel's update today does not change. Steps, not time.

  54. A scatter of 57 slider edits on three Livelit Playground slides: each edit's picture diff, the share of the picture's shapes it changed, against the update cost, as a share of a run from scratch, of a memo keyed by position on top of Hazel's own reuse; most dots lie below the diagonal, the eye sliders above it.A scatter of 57 slider edits on three Livelit Playground slides: each edit's picture diff, the share of the picture's shapes it changed, against the update cost, as a share of a run from scratch, of a memo keyed by position on top of Hazel's own reuse; most dots lie below the diagonal, the eye sliders above it.
    ^report(11) · 2026-10-13

    Every slider on three Livelit Playground slides, 63 edits: what Hazel's own reuse saves (on Full Body and Witch, little: the figure is one binding), what a memo keyed by names could save on top, and how that depends on the names. After Fumola's merge sort, four ways to name a call: by position, by caller, by operand and by content. They agree on edits that only change values; on edits that change which calls are made, naming a call for its operand comes closest to content. And the picture's own representation sets its diff: with groups and transforms instead of a flat list of shapes, every slider edit would change a handful of nodes. Preliminary: steps, with every check free.

  55. Two pictures from the Livelit Playground after a smile slider edit, Full Body and the witch, with the shapes the edit changed in colour and the rest in grey: 8 of 49 shapes and 16 of 133, the face, the hair and, on the witch, the hat.Two pictures from the Livelit Playground after a smile slider edit, Full Body and the witch, with the shapes the edit changed in colour and the rest in grey: 8 of 49 shapes and 16 of 133, the face, the hair and, on the witch, the hat.
    ^report(10) · 2026-10-13

    Which parts of the picture does a slider change, and can Hazel tell them from the rest? On three Livelit Playground slides, a slider edit changes 5 to 16% of the picture's shapes, yet Hazel evaluates the whole picture again (^report(9)). Naming each call by position, as Incremental Computation with Names names allocations in its interpreter, and comparing its inputs with the run before: 75 to 84% of the steps Hazel takes today are in calls whose inputs did not change. Preliminary: steps, with every check free, not times.

  56. For a slider edit on Full Body, 336 parts are reused with fresh ids and with names alike. Derived names kept on the values, Merkle style, cost the woods 1.7 s against 1.5 s, and keep 33,846 of the picture's 33,847 names from run to run.For a slider edit on Full Body, 336 parts are reused with fresh ids and with names alike. Derived names kept on the values, Merkle style, cost the woods 1.7 s against 1.5 s, and keep 33,846 of the picture's 33,847 names from run to run.
    ^report(9) · 2026-10-13

    How do fresh ids relate to lack of reuse? The question of Incremental Computation with Names (OOPSLA 2015), asked of Hazel. The editor names the program's syntax; statics and the evaluator mint gensyms for the rest. Analyzing a slide again renames hundreds of nodes, and naming two sites in statics cuts that by seven eighths. But the reuse check falls back to comparing structure, so the same parts are reused either way: in Hazel today, fresh ids cost time, in the check, in the 461,422 ids one woods evaluation mints, and in what crosses to the worker, not reuse.

  57. A bar chart of one slider change on the Full Body slide: #2597, a long red bar, 8.6 seconds; #2635 showing only the GUI, 3.5 seconds; the same with the reuse check's fix, a short green bar, 1.26 seconds; #2635 with the whole program, 1.23 seconds. Below: the worker's reuse check, GUI only, about 2 seconds to 1 to 4 milliseconds, with lexemes compared in the same walk as structure.A bar chart of one slider change on the Full Body slide: #2597, a long red bar, 8.6 seconds; #2635 showing only the GUI, 3.5 seconds; the same with the reuse check's fix, a short green bar, 1.26 seconds; #2635 with the whole program, 1.23 seconds. Below: the worker's reuse check, GUI only, about 2 seconds to 1 to 4 milliseconds, with lexemes compared in the same walk as structure.
    ^report(8) · 2026-10-12

    One slider change on the Livelit Playground's Full Body slide, three ways. On #2597, without modular editing, it takes 8.6 s, mostly statics on the whole program. On #2635, with it, 1.2 s. Showing only the slider and the picture should be faster still, but it took 3.5 s: opening them as cells gives the picture new ids on every change, and the worker's reuse check then compared lexemes in a walk that was quadratic over the program's lets. Comparing them in the same memoized walk as structure, now on #2635, brings it to 1.26 s, as fast as the whole program. Updated later on 2026-10-14: measured again with the same fixes in both, showing only the GUI was slower again, by the autosave, whose print of a slide with probes had become quadratic in its top-level items; with that fixed (about 1 s to 80 ms a change), the two take the same time, as ^report(15) found again on a newer head on 2026-10-15.

  58. A bar chart of the Scenes slide's first picture, cold: #2597, a long red bar, 287.5 seconds; the same with one commit, a short green bar, 17.4 seconds; #2635, 12.5 seconds. Below: worker messages the page redrew for while loading, 2,520 down to 86, from one commit from #2469.A bar chart of the Scenes slide's first picture, cold: #2597, a long red bar, 287.5 seconds; the same with one commit, a short green bar, 17.4 seconds; #2635, 12.5 seconds. Below: worker messages the page redrew for while loading, 2,520 down to 86, from one commit from #2469.
    ^report(7) · 2026-10-12

    On #2597, the full livelits branch, the Livelit Playground's Scenes slide took about five minutes to draw its first picture. It really does, 287.5 s against 12.5 s on #2635, and the reason is that the page redraws everything for every message from the worker. #2597's worker sends one after every slice of its evaluation: 2,520 while the slide loads, each costing the page about 140 ms, mostly rebuilding the code editor's view of the whole program. The worker sits idle while the page catches up. One commit from #2469, which sends at most one message every 100 ms, brings the first picture to about 17 s on a copy of #2597.

  59. Two bar charts. A time: five runs of the full test job, bars of uneven height, 1,110 to 1,453 seconds. A count: evaluator steps, five equal bars, 206,834 every time. Below: only a count can fail a build.Two bar charts. A time: five runs of the full test job, bars of uneven height, 1,110 to 1,453 seconds. A count: evaluator steps, five equal bars, 206,834 every time. Below: only a count can fail a build.
    ^report(6) · 2026-10-12

    ^report(1)–^report(5) found and fixed performance problems by hand. Nothing in Hazel's CI stops them coming back: no check is required to merge, and the two benchmark workflows never worked on dev. A time can't fail a build on GitHub's runners, where the same tests vary by about 10% from run to run; a count of the work done can. The first such check counts the evaluator's steps and holds them to budgets, and it fails when reuse breaks. Also: building on an earlier benchmarking PR, or starting fresh, compared in a table.

  60. A diagram in two lanes. On the main thread: a request carrying only what is new, and each changed view turned into Html, virtual DOM and DOM, whole. On the eval worker: evaluation that reuses by hash and answers with only what is new. Below: no DOM in a worker, only data crosses.A diagram in two lanes. On the main thread: a request carrying only what is new, and each changed view turned into Html, virtual DOM and DOM, whole. On the eval worker: evaluation that reuses by hash and answers with only what is new. Below: no DOM in a worker, only data crosses.
    ^report(5) · 2026-10-12

    Hazel evaluates a program in a web worker and draws it on the page's main thread. Each fix so far, sorted by thread, and compared with a more principled idea: the worker diffs each view and sends the page only patches. A worker cannot build real DOM, only data, and Hazel's Html value is already that data. What crosses between the threads already carries only what changed. What is still done whole on every change is the page's: evaluating each changed view, converting it to virtual DOM, and diffing it. Updated the same day: measured in the woods, evaluating the view is about 69% of the page's time, and converting and diffing about 2%. So the next step is a cheaper view.

  61. Two witches from the Hazel Witch slide: one in purple with a tuxedo cat on her shoulder and a broom, one in black with white webs, red boots and a ginger cat.
    ^report(4) · 2026-10-11

    M's witch is now a Livelit Playground slide, with her colors, her nose, her cat and her broom, and her woods and three more of the game's backgrounds are a Scenes slide. A witch redraw takes 5–7.5 s. One in the woods took 10–21 s, even when only the figure moved, against 1–3 ms in the game. Three causes were found and fixed. The eval worker sat idle more than half the time; a recursive helper's name leaking out of its let stopped anything from being reused; and the view's call memo cost more than it saved. A woods redraw now takes 2.6–6.4 s. Updated 2026-10-12: the picture's view made cheaper, a figure move in the woods redraws in a median of 1.41 s.

  62. A green witch with a hooked nose, a tuxedo cat on her shoulder and a broom, on a beach with palms, umbrellas and sand castles.
    ^report(3) · 2026-10-11

    My daughter and son asked for features all afternoon, and each went live in the game as soon as it was ready: claws and star points to 100, longer arms, backgrounds, Daniel Tiger's stripes, a witch, a wolf and a deer. The hands and the mouth have already reached the Hazel slides, where one alien hand with 99 fingers takes 32 s to redraw, against 5 ms in the game.

  63. Pictures from the Livelit Playground slides: a whole figure, a torso with hands, hair, pants and shoes, and two heads grown wide for big eyes.
    ^report(2) · 2026-10-11

    With slider releases down to about 0.13 s, the playground slides could carry more. Each feature was tried first in a one-file HTML/JS game, by its players, then formulated in Hazel: hair on the head, a neck, arms with a shirt that is a system of polygons, hands, eyes and a mouth, and two outline modes for building and for playing. What each cost, and why the heaviest slide now spends its time printing points.

  64. An animated timeline of one slider release: the main thread's stages, the eval worker, and the redraw, against Dress Up's under-a-millisecond update.An animated timeline of one slider release: the main thread's stages, the eval worker, and the redraw, against Dress Up's under-a-millisecond update.
    ^report(1) · 2026-10-10

    A livelit slider release took 4.6 s in the afternoon of 2026-10-09 and takes about 0.4 s now, against under a millisecond in a plain HTML/JS app. Every performance problem found this fall, its fix, where the remaining 0.4 s goes, and what it would take to get to "immediate".