You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3d8b455
Browse filesBrowse the repository at this point in the historyBrowse files
`rac-listbox` skips `mount-fixed-100k` (100k DOM nodes is intentionally out of scope).
18
+
19
+
**RAC accuracy scenarios:** React Aria's virtualizer does not expose `scrollToIndex`. The harness uses layout-derived `scrollTop` + native scroll events. If the target row is not mounted after scroll settles, `landingErrorPx` is `-1` (item missing from DOM). `rac-listbox` (non-virtualized) reports accurate landings because every row stays in the DOM.
20
+
7
21
## Running
8
22
9
23
```bash
@@ -74,7 +88,7 @@ it's measuring — it just calls one global function per page.
74
88
|`jankMs`| Sum of frame durations > 50 ms during the action. |
75
89
|`memoryBytes`|`performance.memory.usedJSHeapSize` after the scenario. Chromium only; ungated by `--enable-precise-memory-info`. |
roles to TanStack rows without RAC's collection layer.
162
242
- React 18 runs in production mode (no `<StrictMode>`).
163
243
- Dataset is deterministic (LCG-seeded) and identical across libraries.
164
244
-`--enable-precise-memory-info` + `--js-flags=--expose-gc` are passed to
@@ -177,6 +257,7 @@ Add an entry to `SCENARIOS` in `src/scenarios/types.ts`. The runner discovers it
177
257
1. Create `src/pages/MyLibPage.tsx` that registers a `HarnessHandle` (see existing pages for the contract).
178
258
2. Wire it into `src/main.tsx`'s switch.
179
259
3. Add the library name to `ALL_LIBS` in `runner/run.mjs`.
260
+
4. If a library cannot run certain scenarios, add exclusions to `LIB_SCENARIO_EXCLUSIONS` in `src/scenarios/libScenarioExclusions.mjs` (also re-exported from `scenarios/types.ts`).
0 commit comments