/vite-slow-devtools

Devtools perf issue reproduction with high number of JS requests

Primary LanguageJavaScript

Devtools perf issue reproduction with high number of JS requests

Setup

  • Install deps with you're preferred package manager
  • Run node generate.js
  • Run vite dev
  • Open the browser & the devtools

Observed perf on Mac Pro Intel

Chrome 🐞

  • Fast load (~5s)
  • Big lag when switching from the Fetch/HMR tab to the JS tab.

Firefox 🐞

  • Very slow load (~1m)
  • Moderate lag when switching from the Fetch/HMR tab to the JS tab.

Safari

  • Fast load (~5s)
  • Devtools very responsive at any time
  • Very long to get details on requests (>1m)