Skip to content
Source
Sign inSign up
TanStack/router

perf(start): construct compiler-owned server function AST directly #8524

OpenSheraff(GitHub profile, opens in a new tab)wants to merge 1 commit intocodex/fuse-clone-provenance fromcodex/direct-compiler-astopened

Showing 43 changed files with 231 additions and 0 deletions (loading 41).

x
0 of 43 viewed, 43 left
5 additions and 0 deletions.changeset/fuzzy-berries-behave.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/start-plugin-core': patch
+---
+​
+Construct generated server-function RPC calls, provider wrappers, imports, directives, and HMR statements directly as typed AST nodes instead of parsing compiler-owned snippets.
226 additions and 0 deletionsbenchmarks/compiler/results/direct-ast-app-output.jsonAdded
View file
@@ -0,0 +1,226 @@
+{
+ "description": "All client JS bytes match. All server JS matches after replacing checkout-root paths and the resulting manifest filename hash. No other normalization.",
+ "records": {
+ "baseline": {
+ "manifest": "_tanstack-start-manifest_v-HIOJ1SGR.js",
+ "javascriptFiles": 160,
+ "javascriptBytes": 1214426
+ },
+ "candidate": {
+ "manifest": "_tanstack-start-manifest_v-CPGJfI34.js",
+ "javascriptFiles": 160,
+ "javascriptBytes": 1213766
+ }
+ },
+ "clientHashes": {
+ "client/assets/_method-Bb9AxY_V.js": "88e8dd3a32fb086cbab2c67b697724d6bfddf3e490d5216f4938a69552f413d3",
+ "client/assets/_method-nVGrVTRj.js": "b15959a69ba12ff8ab9a04ebd3b2c7577ebdc7bd563a489666e0c10651b4754e",