ta
TanStack
GitHub
table
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
table
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
6569
b164a939 Merge branch 'main' into perf/shape-stable-instances
by Kevin Van ...
K
Succeeded
6569
c10ec5d8 perf(table-core): shape-stable row/cell/column/header instances Keep one hidden class per instance kind for the whole instance lifetime so V8 property access stays monomorphic: - memoized prototype APIs store memo state in a pre-declared `_memos` holder (plus dedicated `memoSlot`s for render-hot APIs) instead of installing `_memo_<fnKey>` own properties on first call - rows and cells allocate through per-table constructor functions so every field lives in-object; a discarded warmup instance per table pre-marks declared fields mutable to avoid field-constness deopt waves - all post-construction own-property additions declared up front: grouping row fields (the `Object.assign` + per-row `getValue` closure becomes a fixed-arity prototype override), `_cellsCache`, `originalSubRows`, pinned `position` marks; sorted clones rebuilt via `constructRow` - eager per-row cache maps made lazy (`_uniqueValuesCache`, `_groupingValuesCache`); filter maps start as a shared frozen empty map Browser (100k rows, vs 9.1.2): grouped stage -23%, heap -20%; Node construction -21..-35%; steady-state access at parity; %HaveSameMap shape gate passes (fails on 9.1.2). Adds tests/unit/shapeStability.test.ts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
by Kevin Van ...
K
Previous
Next