4 ms·
The main thing that drove me back to Chrome for web dev was the performance. Firefox would hang for ~30 seconds trying to load source maps for our 150+ modules.
by quarterto 12y ago
The main thing that drove me back to Chrome for web dev was the performance. Firefox would hang for ~30 seconds trying to load source maps for our 150+ modules. Since it's single-threaded, this locks up the entire UI every time our app loads with dev tools open. And if it pauses on an exception during this 30 seconds, good luck trying to do anything for the next five minutes.
- mnemonik 12y agoWe had some source map performance issues a while back, but I fixed all the ones that were reported. If you have a test case and steps to reproduce, I'd love to take a look :)
- quarterto 12y agoDon't have a minimal test case yet, I'm seeing it happen on a page with >150 files bundled into a single file with a base64 data URI source map. If the debugger is open on page load, it hangs for 30 seconds to a minute, but loads practically instantly if I open the debugger after page load. Is there an existing bug I can chime in on or should I report a new one?
- mnemonik 12y agoNew one, please: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Developer%20Tools%3A%20Debugger https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&c... I understand if your app is proprietary and you can't share the source, but even non-minimal test cases are much better than no test case :) Thanks!
- quarterto 12y agohttps://bugzilla.mozilla.org/show_bug.cgi?id=1007565 https://bugzilla.mozilla.org/show_bug.cgi?id=1007565 Outside of my 10kloc app, I could only reproduce it with ~100 copies of jQuery, which is kind of a pathological case I guess.
- mnemonik 12y agoThanks for taking the time to file the bug, this helps a lot!
- sergiotapia 12y agoI had the same performance issues and the latest stable version of Firefox resolved every bit of slowness I was experiencing. The totally surprised me, it felt like a different browser.