A leaf of #21346, the planning examples under #21140, and one of the three that the cut of Mon 23 Nov 2026 gets. The visitor's question: does the scheduler stay fast when the plan covers a year and hundreds of resources?
No contributor labels: a maintainer builds it for the cut, and its first step is a profile whose result can change the scope.
The Problem
examples/scheduler/basic shows seven rooms and twenty bookings over two days. Scale is the first thing a buyer of a scheduling component asks about, and the family's one frame cannot answer it. The scheduler draws rows through the grid's buffered body and projects bars for a pixel window around the viewport; no example shows either.
The Architectural Reality
src/scheduler/Container.mjs: bufferPx_ (:148), rowHeight (:251), resourceColumns_ (:237), zoomPresets (:42), barRenderer_ (:142). src/timeline/Column.mjs:52 holds the same bufferPx_ for the bars.
The risk (the source check on #21346): each row finds its bookings by a loop over the whole event store (src/timeline/store/Events.mjs:96-110). Nothing has profiled it at this size.
examples/scheduler/basic/Viewport.mjs (147 lines) is the template: a toolbar, the scheduler, zoom buttons, a barRenderer. It is not edited.
The catalog: apps/portal/resources/data/examples.json (the record scheduler-basic is the model); publishes() in apps/portal/model/Example.mjs:133 drops a record without image.
Specs for the family: test/playwright/e2e/scheduler/.
Design authority: n/a, a new example. Look, caption and cover follow the target in #21140's body.
The Fix
Profile first. Put the data of step 2 into a scratch copy of the base example and measure first paint, a vertical scroll through all rows and a horizontal scroll through three months. Post the numbers here. If scrolling does not hold, file the engine ticket for the per-row loop with that reproducer and link it here as a blocker; the example then ships with the largest counts that do hold, or after the cut.
A new folder examples/scheduler/bigData: 300 resources (people with a team and a site) and one year of bookings, at least one a week per resource (15,600 or more), generated in the example from a fixed seed. Both counts stand in the toolbar.
Two or three resource columns, the first locked, and a barRenderer that colours a bar by its kind.
One line says what to try, for example "Scroll down through 300 people, then sideways through the year."
A catalog recordscheduler-big-data in the family scheduler: a title that says what it shows ("A year for 300 people"), feature and lookFor in the form of its siblings, and a cover taken in the dark theme.
Acceptance Criteria
The profile's numbers are on this ticket before the pull request opens: first paint, vertical scroll, horizontal scroll, with the machine and the build mode.
The example opens with 300 resources and the stated number of bookings; both counts are on screen; the data is seeded, so the first frame is the same on every load.
A spec under test/playwright/e2e/scheduler/ asserts both counts, and that the bars in the DOM stay a small, stated fraction of the bookings before and after a scroll.
No console error. 1440 × 900 and 390 × 844. Every theme of the base example's neo-config.json.
The pull request adds no data file.
Look: the first frame at both sizes, in the dark theme, is on the pull request beside scheduler/basic's, read cold by one reader of the builder's seat.
The cover is on neomjs/pages before the pull request merges, and the record publishes.
Out of Scope
Engine changes: a defect the profile finds gets its own ticket. Editing, zoom levels, working time and live updates: each is a candidate of its own in #21140. Loading from a server.
Avoided Traps
Counts the engine does not hold. The numbers on screen are the ones that passed the profile.
A data file. A year for 300 resources is megabytes; it is generated.
Random data on each load. The cover and the spec name first-frame content.
Related
Parent #21346 · #21140 (the Scheduler row of its content table) · #20874 (the families) · examples/grid/bigData, the grid's scale example.
unowned-rationale: open to a maintainer now. It ships with Engine 14 if its pull request passes by the lock, Sun 22 Nov 18:00 CET; otherwise the week after.
Live latest-open + closed sweep: latest 20 open read (80 open, red band: a leaf of the owning epic #21346), open search ("swimlanes", "300 resources", "2,000 tasks", "scale example") and closed search ("scheduler gantt swimlanes example scale", titles read) at 2026-11-18T15:31Z: no equivalent and no prior exclusion. A2A in-flight sweep: the latest 42 messages, all read-states, back to 14:30Z: no claim on a scale or swimlanes example. MC sweep ("scheduler, Gantt and board show one example each; nobody builds the scale examples for the cut"): this day's turns, no prior decision. Own-assignment sweep: 8 open; #21346 is the parent. Structure-map: N/A, a sibling folder under examples/scheduler/.
Context
A leaf of #21346, the planning examples under #21140, and one of the three that the cut of Mon 23 Nov 2026 gets. The visitor's question: does the scheduler stay fast when the plan covers a year and hundreds of resources?
No contributor labels: a maintainer builds it for the cut, and its first step is a profile whose result can change the scope.
The Problem
examples/scheduler/basicshows seven rooms and twenty bookings over two days. Scale is the first thing a buyer of a scheduling component asks about, and the family's one frame cannot answer it. The scheduler draws rows through the grid's buffered body and projects bars for a pixel window around the viewport; no example shows either.The Architectural Reality
src/scheduler/Container.mjs:bufferPx_(:148),rowHeight(:251),resourceColumns_(:237),zoomPresets(:42),barRenderer_(:142).src/timeline/Column.mjs:52holds the samebufferPx_for the bars.src/timeline/store/Events.mjs:96-110). Nothing has profiled it at this size.examples/scheduler/basic/Viewport.mjs(147 lines) is the template: a toolbar, the scheduler, zoom buttons, abarRenderer. It is not edited.apps/portal/resources/data/examples.json(the recordscheduler-basicis the model);publishes()inapps/portal/model/Example.mjs:133drops a record withoutimage.test/playwright/e2e/scheduler/.The Fix
examples/scheduler/bigData: 300 resources (people with a team and a site) and one year of bookings, at least one a week per resource (15,600 or more), generated in the example from a fixed seed. Both counts stand in the toolbar.barRendererthat colours a bar by its kind.scheduler-big-datain the familyscheduler: a title that says what it shows ("A year for 300 people"),featureandlookForin the form of its siblings, and a cover taken in the dark theme.Acceptance Criteria
test/playwright/e2e/scheduler/asserts both counts, and that the bars in the DOM stay a small, stated fraction of the bookings before and after a scroll.neo-config.json.scheduler/basic's, read cold by one reader of the builder's seat.neomjs/pagesbefore the pull request merges, and the record publishes.Out of Scope
Engine changes: a defect the profile finds gets its own ticket. Editing, zoom levels, working time and live updates: each is a candidate of its own in #21140. Loading from a server.
Avoided Traps
Related
Parent #21346 · #21140 (the Scheduler row of its content table) · #20874 (the families) ·
examples/grid/bigData, the grid's scale example.unowned-rationale: open to a maintainer now. It ships with Engine 14 if its pull request passes by the lock, Sun 22 Nov 18:00 CET; otherwise the week after.
Live latest-open + closed sweep: latest 20 open read (80 open, red band: a leaf of the owning epic #21346), open search ("swimlanes", "300 resources", "2,000 tasks", "scale example") and closed search ("scheduler gantt swimlanes example scale", titles read) at 2026-11-18T15:31Z: no equivalent and no prior exclusion. A2A in-flight sweep: the latest 42 messages, all read-states, back to 14:30Z: no claim on a scale or swimlanes example. MC sweep ("scheduler, Gantt and board show one example each; nobody builds the scale examples for the cut"): this day's turns, no prior decision. Own-assignment sweep: 8 open; #21346 is the parent. Structure-map: N/A, a sibling folder under
examples/scheduler/.Decision Record impact: none.
Origin Session ID: 8e78f529-725e-40c2-9c93-a9c550b089b2
Retrieval Hint: "scheduler scale example, a year for 300 resources, buffered rows, bars clipped to the viewport, profile first"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code