react-server675fbba4
react-servercommit7bf374ee84e7

fix: performance (#363)

Performance optimizations across the SSR hot path: byte-level JS string escaping in render-dom.mjs (eliminates TextEncoder/TextDecoder/JSON.stringify churn), streamlined abort signal handling in middleware.mjs (removes per-request DOMException construction), ESM import caching, response streaming pipeline improvements, and static file handler performance fixes Benchmark suite with autocannon-based harness, 10 route variants (minimal → large SSR, cached, static files, 404), client component SSR counterparts for RSC vs SSR comparison, --cluster mode support, --save/--compare for A/B testing

GitHub Actions workflow for automated benchmark on PRs and main merges with sticky PR comment showing req/s and latency deltas against baseline

Author
Viktor Lázár <lazarv1982@gmail.com>
Date
Commit
7bf374ee84e7b1df4cef26d8862661498bf9e920
33 files changed+1458 -140