Skip to content
Source
Sign inSign up
TanStack/router

agents #8258

Mergedschiller-manuel(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/8258/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 14 changed files with 26 additions and 0 deletions (loading 11).

x
0 of 14 viewed, 14 left
13 additions and 0 deletionsbenchmarks/AGENTS.mdAdded
View file
@@ -0,0 +1,13 @@
+# Benchmarks
+​
+Read the relevant README before running benchmarks. Compare baseline and candidate with the same workload and production builds; add a focused case when existing scenarios miss the changed mechanism. Keep workloads and benchmark names stable for historical comparisons.
+​
+| Changed behavior | Guide | Nx project |
+| ------------------------------------------ | ---------------------------------- | -------------------------------------------------------- |
+| Standalone Router navigation/rendering CPU | [client-nav](client-nav/README.md) | `@benchmarks/client-nav` |
+| Start request/SSR CPU | [ssr](ssr/README.md) | `@benchmarks/ssr` |
+| Client/server retention and allocations | [memory](memory/README.md) | `@benchmarks/memory-client`, `@benchmarks/memory-server` |
+​
+Use `test:perf:<react|solid|vue>` through Nx. Plain memory runs only smoke-test; memory metrics require CodSpeed. Client navigation benchmarks do not cover Start hydration or client server-function calls.
+​
+For bundle-size work, follow the full optimization skill required by the root guide. Full API fixtures are maintained manually: when public hooks/components change, update matching `bundle-size/scenarios/*-full/src/routes/__root.tsx` fixtures. Save baseline results separately because each run overwrites `bundle-size/results/current.json`; report final gzip deltas and explain remaining growth.
4 additions and 0 deletionsdocs/AGENTS.mdAdded
View file
@@ -0,0 +1,4 @@
+# Documentation
+​
+- Register new published pages in `router/config.json` or `start/config.json`; drafts need not be registered.
+- Run `pnpm test:docs` from the repository root for Markdown link validation. It checks `docs/**/*.md`, not Markdown elsewhere. Relative links resolve from the containing file.
9 additions and 0 deletionse2e/AGENTS.mdAdded
View file
@@ -0,0 +1,9 @@
+# E2E tests