Skip to main content

One post tagged with "Performance"

Caching, page speed, build speed and runtime performance.

View All Tags

A Reproducible Next.js Rebuild Benchmark That Catches Regressions

· 6 min read
Victor Jimenez
Senior Product Engineer

Most build regressions get reported as "it feels slower", long after the commit that caused them. I built a small Node CLI that benchmarks next@16.1.6 builds under cold and warm cache, compares the result with a baseline, and writes JSON that CI can diff. A run is flagged when its mean build time rises past a threshold you set.