Next.js Discord

Discord Forum

Improve build time in CI

Unanswered
Leafcutting bee posted this in #help-forum
Open in Discord
Leafcutting beeOP
Hi, currently building our nextjs app takes about 9/10 minutes in CI. Locally it is about 4 minutes without cache, little less than 3 with cache.

What is the best way to figure out where that difference comes from? I assume its somehow related to certain hardware I have locally, but we use EC2 so I could switch instance types to optimize for this if need be.

0 Replies