Live data from Hacker News

Firefox has surpassed Chrome on Speedometer

treeherder.mozilla.org

531–540 of 559 posts

Re: Firefox has surpassed Chrome on Speedometer

#531

Earlier quoted context omitted.

"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

I mean, these aren't just any access of the DOM, they're specifically selectors on the DOM (with a few stepping into children and then running selectors on them). So that does narrow the original claim significantly.

I also see five orders of magnitude between the fastest and slowest operations there (`document.getElementById("canvas")` vs `document.getElementsByAttribute("href")`) on my machine, so it's not clear what you're disagreeing with my comment about.

On my machine, Chrome is slower by an order of magnitude on the first three tests, but is approximately the same (slightly faster or slower) on the rest. And I'll still assert these microbenchmarks aren't testing anything meaningful. Millions of calls to `document.getElementById("canvas")` in a loop is almost certainly just hitting a cache, which is fine but also reveals little about how it will affect execution of actual scripts (is the querySelector even a bottleneck in a particular piece of code? how big is the cache vs the actual uses before a `document.getElementById("canvas")` comes back around again? etc)

Re: Firefox has surpassed Chrome on Speedometer

#532
post #186

Earlier quoted context omitted.

> though I think Brave is probably still a good recommendation for users that don't want to go through the effort of installing an ad blocker Is that really the only reason to install Brave? Starting to wonder if I should just set up a Firefox that bundles uBlock Origin by default with a brand new name.

https://www.tumblr.com/foone/721395638537961472/i-see-people... remains the best take on Brave that I've seen. "I see people talking about the Brave browser in the whole Firefox vs chrome debate, and while people rightly point out that it's just chromium and that they do shady cryptocurrency shit, I never see anyone point out that Brave's founder and CEO is Brandan Eich. "He founded Brave after massive protests again…

Regardless of what you think about gay marriage, the mere fact that Mozilla forced out its CEO for having an unpopular political opinion is reason enough not to trust its leadership. Its one of the reasons I use Brave and not Firefox.

Re: Firefox has surpassed Chrome on Speedometer

#533
post #186

Earlier quoted context omitted.

> though I think Brave is probably still a good recommendation for users that don't want to go through the effort of installing an ad blocker Is that really the only reason to install Brave? Starting to wonder if I should just set up a Firefox that bundles uBlock Origin by default with a brand new name.

https://www.tumblr.com/foone/721395638537961472/i-see-people... remains the best take on Brave that I've seen. "I see people talking about the Brave browser in the whole Firefox vs chrome debate, and while people rightly point out that it's just chromium and that they do shady cryptocurrency shit, I never see anyone point out that Brave's founder and CEO is Brandan Eich. "He founded Brave after massive protests again…

[deleted]

Re: Firefox has surpassed Chrome on Speedometer

#534
post #366

Earlier quoted context omitted.

> I couldn't imagine opening more than a dozen of tabs without it. I can't imagine having more than a dozen tabs open, period. You tab hoarders will never make sense to me...

I turn tabs off completely and hide the tab bar.

You monster.

Re: Firefox has surpassed Chrome on Speedometer

#535
post #515

Earlier quoted context omitted.

Firefox containers are tab groups on steroids. Tab groups are just aesthetic while Firefox containers can not only group and colour code the tabs but isolate cache and stuff. This means you can use two gmail accounts in two separate tabs. It also means you can isolate you personal bank or other websites so that other data harvesting website cant get to that information. :) Firefox containers have been there long back…

Last time I checked it didn't allow me to group tabs, so not sure why it would be applicable to my usecase which is an UI thing. Seems to be two separate features to me at least, but maybe you know how to use containers to group tabs in top bar of browser.

Yeah - not the OP but I investigated containers and they didn't do what you're asking for. I ultimately ended up installing Simple Tab Groups to get similar behavior to chrome. It would be nice if this functionality was actually built into the browser.

Re: Firefox has surpassed Chrome on Speedometer

#537
post #515

Earlier quoted context omitted.

Firefox containers are tab groups on steroids. Tab groups are just aesthetic while Firefox containers can not only group and colour code the tabs but isolate cache and stuff. This means you can use two gmail accounts in two separate tabs. It also means you can isolate you personal bank or other websites so that other data harvesting website cant get to that information. :) Firefox containers have been there long back…

Last time I checked it didn't allow me to group tabs, so not sure why it would be applicable to my usecase which is an UI thing. Seems to be two separate features to me at least, but maybe you know how to use containers to group tabs in top bar of browser.

Please follow the link. You should be able to group it, colour code it and isolate them. For example, I have different colours for different different containers. I can also open only container designated websites in it. For example, if I am in facebook container and I open google websites, it can switch the google tab to google container. There are so many things you can do with it.

Re: Firefox has surpassed Chrome on Speedometer

#538
post #487

Earlier quoted context omitted.

No other browser has something like container tabs. Temporary Containers is an excellent extension to make each new tab its own isolated browser session too. First Party Isolation is 1 thing, but Chrome cannot do containers.

Safari will get that feature in iOS 17/macOS Sonoma.

I am not in the Mac ecosystem, but that is good to hear :-)

Re: Firefox has surpassed Chrome on Speedometer

#539

Earlier quoted context omitted.

This is blowing my mind right now, how do you operate with so many tabs? For me, as soon as I can’t tell which site is in which tab it means I need to close some. And I don’t see the utility of having so many tabs open, since you can obviously only use one at a time. So if you have 100 or 1000 open, most are not being used most of the time, so why not close them? What do you lose from closing tabs versus what do you…

If you can't tell which site is open, that's likely due to Chrome's poor tab UX. Constantly shrinking the click target makes tabs harder to work with. Not being able to read the tab title doesn't help either. Thus, Chrome incentivizes people to close tabs. With vertical tabs, you don't have this problem. Every tab is the same width, making them easier to interact with. You'll need to vertically scroll the list if it…

Yeah I use Grasshopper for that.

https://addons.mozilla.org/en-US/firefox/addon/grasshopper-u...

Re: Firefox has surpassed Chrome on Speedometer

#540

Earlier quoted context omitted.

Not downloading a random exe to my computer, sorry) And by random I mean downloaded from a website of corporation with less than $100B valuation :)

Then you might find namebench appealing: https://code.google.com/archive/p/namebench/

thanks! I better hurry before ChatGpt brings GOOG under the $100B mark)
Post reply on HN