turbopack taking 15+ seconds to load a pge in dev #82429
polnikale
started this conversation in
Turbopack Error Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've tried creating a bug report and submitted a link to the tracing file but it closed the issue because the link was not a valid repo. Maybe here's a more proper place to talk about it...
https://drive.google.com/file/d/1UH_CjHYwmHEYHs3k3jArp9lufSOuvSEJ/view?usp=sharing
To Reproduce
I've added the link to google drive with traces. As you can see, the page can load for up to 20s...
I've been suffering with next in dev since pretty much the project start(I'm on app router but I almost don't use any of the fancy stuff, just mostly trpc, and all the dashboards are use client)
I switched to turbopack and it's gotten better a bit, but still on my Macbook Pro it can take easily 10-15seconds to load a page in dev mode
It's been okay-ish(I had no other option lol), but now I hired an intern and he's on Windows with a lower-end PC and it basically takes him a minute or so which is inhuman experience....
At first, I thought it was because I had some webpack settings in my next.config(idk where it came from lol), or because of react compiler. or from non-optimized imports
But I got rid of everything which could've caused issues and it's still nowhere near to being a decent experience
I'm also on monorepo, and I might make some dumb mistake there, but I'm clueless at this point
I'm on one of the last canary versions of next(15.4.0-canary.54) but it's been like that on basically any version I can imagine. I also just upgraded to 15.4.2-canary.32 and it's still the same
I've also tried disabling sentry and removing it from everywhere inside the app - also didn't help
Maybe I'm missing something trivial, but honestly whenever I'm using vite-based framework, it just works... Which makes me think 3 times before starting a new next project(which sucks because LLMs are so good at it!)
Anyways, here's a link. I'd appreciate any feedback. Thanks!
https://drive.google.com/file/d/1UH_CjHYwmHEYHs3k3jArp9lufSOuvSEJ/view?usp=sharing
Current vs. Expected behavior
Pages should load at least within 3s
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000
Available memory (MB): 16384
Available CPU cores: 8
Binaries:
Node: 18.19.0
npm: 10.2.3
Yarn: 1.22.19
pnpm: 8.15.7
Relevant Packages:
next: 15.4.2-canary.32 // Latest available version is detected (15.4.2-canary.32).
eslint-config-next: N/A
react: 19.1.0
react-dom: 19.1.0
typescript: 5.4.5
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions