mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
Select Object.setPrototypeOf({}, null) in createNull only for the existing compile-time server branch. Keep client dictionary allocation and all direct allocation sites unchanged. Add null-prototype/special-key coverage for both branches and an opt-in 24-case small/large/dynamic record benchmark.
Against f38d8d0ede, six fresh paired SSR repetitions reduced CPU by 7.41% for shared params (95% CI -12.28% to -2.27%), 14.25% for unique params (-17.52% to -10.85%), and 9.24% for param updaters (-12.73% to -5.60%). Wall intervals also show speedups. Three unique-param allocation profiles averaged 1222705899 to 1125029176 bytes over 300 batches (-8.0%).
All 18 client bundle fixtures are byte-identical in raw/gzip/initial-gzip/Brotli. Rejected blanket client expansion because canonical CPU regressed about 21.5%; removed the separate parameter-target hunk after attribution found no demonstrated incremental speedup. Fast properties are not a universal dictionary optimization.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
History
|
|
|---|---|---|
| .. | ||
| cold-mirrors-read.md | ||
| config.json | ||