{
  "id": 16729338,
  "title": "tsrs vs tsc on a real 6,600-file Next.js app: 11x faster, zero missed errors, and why we are not switching yet",
  "url": "https://urgent.news/2026/10/27/tsrs-vs-tsc-on-a-real-6-600-file-next-js-app-11x-faster-zero-missed",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-27T09:26:03.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/vousmeevoyez/tsrs-vs-tsc-on-a-real-6600-file-nextjs-app-11x-faster-zero-missed-errors-and-why-we-are-not-2n2n"
  },
  "original_language": "en",
  "account": "In a comparison between TypeScript's compiler (tsrs) and the official TypeScript 7 compiler, tsrs demonstrated significant improvements in speed and memory usage. For a Next.js 16 app with 6,600 tracked TypeScript files, tsrs was found to be 11 times faster on a cold check, use about half the memory, and missed no errors across 57 test cases. However, tsrs was not yet ready to be switched to due to several reasons, including differences in supported TypeScript versions and exit code changes. The benchmark also revealed that tsrs reported one less diagnostic than the official compiler for some tests, but this was later found to be a duplicate error. To ensure accurate comparisons, it is crucial to use the same TypeScript version for all tests, generate separate tsbuildinfo files for each compiler, and avoid using incremental caches across compilers.",
  "summary": "A week after Cloudflare and VoidZero announced tsrs, a Rust port of the TypeScript 7 compiler, I benchmarked it against the compiler we already run. The vendor numbers say up to 8x faster and about 70% less memory than TypeScript 7. I wanted to know three things for our own codebase: Is it faster on our code, not on someone else's benchmark? Does it catch every error the official compiler…",
  "key_points": [
    "tsrs compiler is 11 times faster than official TypeScript 7 compiler",
    "tsrs uses half the memory of official compiler",
    "tsrs missed no errors in 57 test cases, official compiler did"
  ],
  "editors_take": "While the tsrs compiler offers massive performance gains for large Next.js applications, versioning inconsistencies and changes to exit codes prevent teams from replacing the official TypeScript compiler.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}