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
|
|
|---|---|---|
| .. | ||
| arktype-adapter | ||
| eslint-plugin-router | ||
| eslint-plugin-start | ||
| history | ||
| nitro-v2-vite-plugin | ||
| react-router | ||
| react-router-devtools | ||
| react-router-ssr-query | ||
| react-start | ||
| react-start-client | ||
| react-start-rsc | ||
| react-start-server | ||
| router-cli | ||
| router-core | ||
| router-devtools | ||
| router-devtools-core | ||
| router-generator | ||
| router-plugin | ||
| router-ssr-query-core | ||
| router-utils | ||
| router-vite-plugin | ||
| solid-router | ||
| solid-router-devtools | ||
| solid-router-ssr-query | ||
| solid-start | ||
| solid-start-client | ||
| solid-start-server | ||
| start-client-core | ||
| start-fn-stubs | ||
| start-plugin-core | ||
| start-server-core | ||
| start-static-server-functions | ||
| start-storage-context | ||
| valibot-adapter | ||
| virtual-file-routes | ||
| vue-router | ||
| vue-router-devtools | ||
| vue-router-ssr-query | ||
| vue-start | ||
| vue-start-client | ||
| vue-start-server | ||
| zod-adapter | ||