Next.js Daily: Turbopack Performance Improvements and Router Fixes

Six pull requests merged focused on Turbopack compilation optimizations, achieving up to 23% performance improvements in JavaScript analysis. A significant router fix addresses scroll restoration issues with server action refreshes.

Duration: PT1M48S

Episode overview

This episode is a short developer briefing from Next.js Daily.

It explains recent repository work in plain language.

  • Show: Next.js Daily
  • Published: 2026-03-15T10:16:54Z
  • Audio duration: PT1M48S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. This is Next.js Daily for March 15th, 2026.

Matt Mastracci merged a major Turbopack optimization that const-ifies registration code, reducing executable startup time and providing 1-3% compilation speedups. The change moves vtable lookups for trait methods to compile time, enabling near-constant-time trait implementation lookups.

Niklas Mischkulnig delivered two performance improvements to Turbopack. The first optimizes import attributes by using pointers only when needed, achieving a 23% improvement in JavaScript analysis benchmarks. The second adds CommonJS support for turbopack chunking type annotations, extending the existing ES module…

Andrew Clark fixed a router regression where server action refreshes incorrectly scrolled pages to the top. The solution replaces the complex segment-path-matching system with shared ScrollRef objects on CacheNode, simplifying scroll restoration logic significantly.

Tobias Koppers optimized AsyncModulesInfo with keyed cell access, reducing unnecessary recomputation during incremental rebuilds. The change allows turbo-tasks to track reads at the module level rather than invalidating all readers when any module's async status changes.

Ma…

Nearby episodes from Next.js Daily

  1. Node.js Streams Foundation & Instant Validation
  2. Turbopack Webpack Loader Support and Critical Bug Fixes
  3. Build Performance and Static Generation Improvements
  4. Weekly Recap - Core Performance & Rendering Improvements
  5. React Upgrade and Instant Navigation Features
  6. Parallel Routes and Developer Tools Update
  7. CSS Features Control and Performance Optimizations
  8. Turbopack HMR Expansion and URL Normalization Fixes