Performance Regression on initial load with Vite 6 #19171
-
After upgrading from Vite 5 to Vite 6, I'm noticing a large performance regression on initial request when using Vite's developer mode. Vite 6
Notice that the Vite 5
I'm also noticing that the CPU is not pegged, indicating that there may have been a waterfalling regression somewhere. I'm not sure where to go from here - simple reproductions are not reproducing this issue, probably due to scale. What's the best way to hunt down the source of this? Using:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I this there might be a change in how export default defineConfig({
environments: {
ssr: {
dev: {
preTransformRequests: true
}
}
}
}) (FYI, I was just checking the other issue related to |
Beta Was this translation helpful? Give feedback.
-
Not sure what changed, but the latest version of Vite 6 appears to have fixed this regression for my use-case. |
Beta Was this translation helpful? Give feedback.
Not sure what changed, but the latest version of Vite 6 appears to have fixed this regression for my use-case.