Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Firefox takes a very long time to load sourceMaps, and doesn't improve during subsequent refreshes

  • 2 ответа
  • 1 имеет эту проблему
  • 4 просмотра
  • Последний ответ от cor-el

more options

Confirmed on this device (Firefox 33.0 on Linux) and with Firefox 33.0 on Mac OS X Maverics.

Without developer tools open, my site loads in <1s. When developer tools are opened, and I navigate to the debug tab for the first time, the browser consumes 100% of one of my cores for ~60s. It eventually completes the processing (sometimes firefox reports a slow script, but if it is allowed to run, it finishes), and performs normally - sourceMaps seem to work fine. On each subsequent page load, the browser behaves as when navigating to the debug tab for the first time.

Cursory testing in a recent version of Chromium does not have the same slowness.

The site contains a fairly large amount of javacript, which is processed by browserify as part of our build process. Browserify is responsible for generating the sourceMaps.

Confirmed on this device (Firefox 33.0 on Linux) and with Firefox 33.0 on Mac OS X Maverics. Without developer tools open, my site loads in <1s. When developer tools are opened, and I navigate to the debug tab for the first time, the browser consumes 100% of one of my cores for ~60s. It eventually completes the processing (sometimes firefox reports a slow script, but if it is allowed to run, it finishes), and performs normally - sourceMaps seem to work fine. On each subsequent page load, the browser behaves as when navigating to the debug tab for the first time. Cursory testing in a recent version of Chromium does not have the same slowness. The site contains a fairly large amount of javacript, which is processed by browserify as part of our build process. Browserify is responsible for generating the sourceMaps.

Изменено idbentley

Все ответы (2)

more options
more options

You could try to disable this feature for now by toggling this pref on the about:config page:

  • devtools.debugger.source-maps-enabled = false