Live data from Hacker News

Firefox has surpassed Chrome on Speedometer

treeherder.mozilla.org

491–500 of 559 posts

Re: Firefox has surpassed Chrome on Speedometer

#492

There was a time when Firefox felt a lot slower than Chromium, but for a few years now it's been close enough (even if still somewhat slower) to not bother me, while Firefox clearly offers superior functionality and much better performance under high load. The last time Chromium has felt attractive compared to Firefox was a really long time ago. Glad to see it moving in the right direction still.

Firefox's GC seems to be much slower than chromium at least as of 109. Certain Vue websites are rather prolific in their garbage generation and The performance difference between chromium and firefox is easily noticeable, particularly if you leave an SPA open for a while.

If you notice these issues, it can help to file bug reports.

Re: Firefox has surpassed Chrome on Speedometer

#493
post #8

I've used Firefox as my primary browser since the "Quantum" in 2017. Chrome still feels snappier, but Firefox's Container Tabs is hard for me to imagine losing.

I always get suspicious when someone describes performance as "feels snappier"

ok

Re: Firefox has surpassed Chrome on Speedometer

#494
post #34
post #8

I've used Firefox as my primary browser since the "Quantum" in 2017. Chrome still feels snappier, but Firefox's Container Tabs is hard for me to imagine losing.

> (...) but Firefox's Container Tabs is hard for me to imagine losing. Are you referring to Firefox's multi-account containers extension? https://support.mozilla.org/en-US/kb/containers

That's the one! I thought it was an inbuilt feature of the browser. I guess the Facebook Container[1] extension must bring it down as a dependency or something, because I have never installed that extension knowingly.

1. https://addons.mozilla.org/en-US/firefox/addon/facebook-cont...

Re: Firefox has surpassed Chrome on Speedometer

#495
post #40

Firefox can render pages faster than Chrome, if it still has a laggy scroll on macOS, I won't be using it. Every six months, I go back to Firefox for a day or two, only to notice this scroll lag. Every time.

I use a macbook and do not notice any scroll lag. Have you got smooth scrolling on? If so, try turning it off.

Re: Firefox has surpassed Chrome on Speedometer

#496

Earlier quoted context omitted.

I believe the CPU is 4 core, JavaScript is single threaded (multi-callstack) so you only get 1 logical CPU core.

I thought so, but wasn't sure. That makes me super suspicious of 1.4B op/s. Surely Firefox isn't accessing the DOM in ~2 CPU cycles?

Appears to be: https://jsbench.github.io/#b39045cacae8d8c4a3ec044e538533dc

Its just a crude memory operation for Firefox. The video card in my laptop is super inferior compared to my desktop, so in most other benchmarks the laptop is much slower. The laptop has DDR4 memory where the desktop has slower DDR3 memory.

Re: Firefox has surpassed Chrome on Speedometer

#497

Earlier quoted context omitted.

As a JavaScript developer my priorities are limited to visual render and DOM access. Going back 5+ years ago Chrome was able to access the DOM at about 45m ops/s on my desktop and Firefox was achieving about 850m ops/s on the same hardware. On my laptop (faster memory) Chrome was getting up to 55m ops/s while Firefox was around 1.4b ops/s. Now Firefox numbers have remained constant, but Chrome struggles to hit 20m op…

"access the DOM" is not a constant operation, though, it will vary wildly based on what you're doing and what you were doing just before that (think of reading a computed style before vs after writing a style that forces layout). 1.4b ops/s also sounds like it might not be testing what you think it's testing. Access in that case might just be hitting a cache, so possibly not at all representative of real performance…

No, the DOM is a living artifact, but it lives in memory. So access to the DOM, at least for Firefox, appears to just be a crude memory operation of walking a tree from a narrow collection of pointers in the JIT.

https://jsbench.github.io/#b39045cacae8d8c4a3ec044e538533dc

Re: Firefox has surpassed Chrome on Speedometer

#498

You'll pry the Firefox developer tools and container tabs from my cold dead hands. It would have to be significantly slower for me to switch off of it.

Interesting. I actually switch to Chrome specifically if I need to use the developer tools. What do you prefer about the Firefox version?

Not OP but I think it's a lot about familiarity. I'm sure chrome has most of the things I use in firefox. But I'm just not familiar with it anymore so I always revert back to firefox if i need to use the dev tools.

Re: Firefox has surpassed Chrome on Speedometer

#499

There was a time when Firefox felt a lot slower than Chromium, but for a few years now it's been close enough (even if still somewhat slower) to not bother me, while Firefox clearly offers superior functionality and much better performance under high load. The last time Chromium has felt attractive compared to Firefox was a really long time ago. Glad to see it moving in the right direction still.

I switched to Firefox from Chrome years ago because Chrome was slower. Specially, when there were many tabs opened, switching tabs in Chrome were usually prefaced with a blank white screen for about 2 seconds. I've been staying with Firefox not for the performance (today Chrome loads Google sites like YouTube faster), but mainly for Tree Style Tab extension. I couldn't imagine opening more than a dozen of tabs withou…

Tree style tabs along with changing the CSS to remove the tabs from the top of the screen has been a game changer for me. Back when I had an M1 macbook air, it was the difference between everything feeling cluttered to feeling like a real laptop screen.

Re: Firefox has surpassed Chrome on Speedometer

#500

Earlier quoted context omitted.

One thing I've noticed since I started using Sideberry extension (a different/better take on Tree Style Tabs) is that after a day or two, the whole tab panel I separated specifically for HN tends to accumulate 100+ tabs. Having them laid out vertically in tiny font makes this apparent in a way that the regular tab bar doesn't. Fortunately, I also habituated the simple behavior of "If I realize I have a lot of HN tabs…

What makes Sidebery better than TST? I'm consider trying it, but I don't want to lose all of my TST tabs.

I haven't been able to find a single differentiator between the two add-ons in my experience using them.
Post reply on HN