What is the best way to determine bottlenecks? #2051
-
I'm having an environment-specific issue and having difficulty unraveling the cause. When upgrading from Vite 5 to Vite 6, initial page load times plummet, taking 60 seconds or more to get anything loaded with Vike, where previously it would take 2 seconds even with all the required files streaming down. My CPU is not pegged, so there's clearly been something introduced that's causing things to arbitrarily bottleneck. Once everything has been loaded in the development server once, load times improve. What's the best way to debug something like this? Can I view Vite bundle timings when using Vike & Express? Are there any other debug logs that I could look at to determine the slow initial render & streaming of files? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Vite debug logs can be useful, as you seem to have figured out at #2052. |
Beta Was this translation helpful? Give feedback.
Vite debug logs can be useful, as you seem to have figured out at #2052.