News for hackers. Stuff that matters.
Re:Firefox has surpassed Chrome on Speedometer by xd1936 on Tuesday July 18, 2023 @08:28AM (#36771136)
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.
Re:Firefox has surpassed Chrome on Speedometer by otabdeveloper4 on Tuesday July 18, 2023 @08:40AM (#36771257)
> Chrome still feels snappier

I actually tested this and Firefox is significantly faster in rendering CSS and tables. (Not sure about complex Javascript.)

Chrome's snappiness is mostly UI smoke and mirrors, actual sites load faster for me in Firefox.

Re:Firefox has surpassed Chrome on Speedometer by insanitybit on Tuesday July 18, 2023 @08:42AM (#36771270)
Maybe FF should take some tips on those UI "smoke and mirrors". What feels faster is what users are going to go off of. For example, a page that fully loads in 1 second vs a page that incrementally loads in 1.5 seconds - the latter may feel faster because the time to start loading is faster.
Re:Firefox has surpassed Chrome on Speedometer by ndiddy on Tuesday July 18, 2023 @09:30AM (#36771849)
That makes the user experience worse though. Anyone who's had a webpage layout change while they were trying to interact with it knows how frustrating it is.
Re:Firefox has surpassed Chrome on Speedometer by insanitybit on Tuesday July 18, 2023 @09:55AM (#36772282)
Sometimes. The big offender here is advertising.
Re:Firefox has surpassed Chrome on Speedometer by causi on Tuesday July 18, 2023 @08:55AM (#36771407)
Not to mention that the things the user wants to see are probably early in the load order and all the worthless garbage is coming in later.
Re:Firefox has surpassed Chrome on Speedometer by ElectricalUnion on Tuesday July 18, 2023 @09:54AM (#36772266)
Those SPA-filled days, all I get on those "early load order" pages are blinking blank rectangles and spinners.
Re:Firefox has surpassed Chrome on Speedometer by WhereIsTheTruth on Tuesday July 18, 2023 @11:51AM (#36774439)
Pretty much this, the overall feel of Chrome is snappier and the UI/UX is much better

I'm still not a fan of the latest UI revision on Firefox.. Chrome is able to make me forget there is an UI

I remember switching to Chrome because of a new UI update many years ago (performance too)

If Firefox manage to catch up performance wise, I might give it another try

Re:Firefox has surpassed Chrome on Speedometer by dspillett on Tuesday July 18, 2023 @09:38AM (#36771973)
> Chrome's snappiness is mostly UI smoke and mirrors

This can be very effective, which is why optimising complex pages for first contentful draw (perhaps at the expense of overall load speed) can make a huge difference to how your pages/app are perceived.

Back in the dial-up (and early ADSL) days many were convinced that IE was faster because of progress bar trickery: it would actively lie and could inch up to ~85% before the first byte of data had arrived from the server (I forget if it waited for the HTTP request to be sent or if it started edging up immediately upon TCP connection). It still did it right up to the end, though with local connectivity getting faster these days the amount you'll notice it is greatly reduced.

Re:Firefox has surpassed Chrome on Speedometer by solarkraft on Tuesday July 18, 2023 @09:40AM (#36772005)
Yes, that's important. The funny part about it is that it's probably a lot cheaper than optimizing the engine.
Re:Firefox has surpassed Chrome on Speedometer by kevincox on Tuesday July 18, 2023 @10:35AM (#36773042)
Yup. I found that Firefox does incredibly well at long text documents and tables. I remember that Google's internal source code browser would warn you if you tried to open a "large" file (I don't remember what the threshold was). However with Firefox the files always opened fine and things like scrolling performed well. I thought the warning was just a relic of an earlier time. However I realized that my colleagues using Chrome would actually respect this warning and download the file to open it in a text editor. Testing showed that the files would truly grind Chrome to a halt. It seems that Chrome still has a performance edge on highly dynamic content but Firefox does appear to be significantly better at large pages of mostly-static content like long HTML and text documents.
Re:Firefox has surpassed Chrome on Speedometer by dsauerbrun on Tuesday July 18, 2023 @08:33AM (#36771186)
pretty sure chrome has had tab grouping for over a year now
Re:Firefox has surpassed Chrome on Speedometer by haswell on Tuesday July 18, 2023 @08:39AM (#36771250)
Container tabs isolate sessions. I don’t think tab grouping is related.

Firefox allows you to create/manage multiple containers, and set up rules to assign specific sites to specific containers if desired.

I think the closest feature in Chrome is the ability to create multiple profiles, but this is less flexible/ergonomic IMO.

Re:Firefox has surpassed Chrome on Speedometer by happymellon on Tuesday July 18, 2023 @08:55AM (#36771406)
In some ways profiles works better, and in others container tabs does.

I have two password managers, one for work and one for home. Multiple profiles lets me work with both.

Container tabs lets me log into a site multiple times, or when they have a session cookie that prevents me from navigating to two different flows.

Both great, both fill completely different niches.

Re:Firefox has surpassed Chrome on Speedometer by toyg on Tuesday July 18, 2023 @09:13AM (#36771609)
Firefox has profiles too, btw.
Re:Firefox has surpassed Chrome on Speedometer by happymellon on Tuesday July 18, 2023 @09:30AM (#36771848)
Profiles in Firefox isn't great.

The profiles plugin, is great.

https://addons.mozilla.org/en-GB/firefox/addon/profile-switc...

I would want to see this integrated.

Re:Firefox has surpassed Chrome on Speedometer by CrampusDestrus on Tuesday July 18, 2023 @08:35AM (#36771206)
container tabs != tab grouping

tab grouping uses the same cookies everywhere, whereas container tabs provide isolated workspaces each with their own set of cookies

Re:Firefox has surpassed Chrome on Speedometer by post-it on Tuesday July 18, 2023 @08:36AM (#36771213)
Are they containerized? I have separate containers for work and personal stuff, with separate sessions for Gmail, GitHub, etc.
Re:Firefox has surpassed Chrome on Speedometer by seba_dos1 on Tuesday July 18, 2023 @08:36AM (#36771224)
How are tab groups relevant here?
Re:Firefox has surpassed Chrome on Speedometer by allarm on Tuesday July 18, 2023 @08:36AM (#36771220)
That's not what container tabs are. Think of it as isolated environments for groups of sites. You can even set it up so that each new link opens in a new environment, without any cookies, etc.
Re:Firefox has surpassed Chrome on Speedometer by rewmie on Tuesday July 18, 2023 @08:44AM (#36771289)
> (...) 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

Re:Firefox has surpassed Chrome on Speedometer by chaxor on Tuesday July 18, 2023 @08:54AM (#36771400)
This is indeed fantastic, but paired with container proxies, it's awesome.

You can send a few tabs through one socks proxy, a few through another, all while segmenting that from work, personal, etc. if you have a vpn for one work location and different ones for other work.

Re:Firefox has surpassed Chrome on Speedometer by tux3 on Tuesday July 18, 2023 @08:59AM (#36771450)
I'm just starting to use this, I have a VPN that I put in a network namespace along with a local `danted` socks proxy, so it doesn't disturb the rest of the system

It's amazing how well it works!

I just set a few glob rules on the URLs I need proxied and I don't have to think about it anymore :)

Re:Firefox has surpassed Chrome on Speedometer by happymellon on Tuesday July 18, 2023 @08:51AM (#36771363)
I can't speak for them, but it's what I thought of and agree.

Sandboxed tabs is brilliant.

I just wish they added better overall profile support.

Re:Firefox has surpassed Chrome on Speedometer by xd1936 on Tuesday July 18, 2023 @07:42PM (#36780458)
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 by bayindirh on Tuesday July 18, 2023 @08:54AM (#36771397)
Chrome's most of the snappiness is coming from how it handles the DNS queries internally from my experience.

Pair Firefox with a fast DNS, and it's noticably faster than Chrome, for the last 3 years or so.

I discovered it accidentally, after switching to local DNS at the office. We run one of the nation-wide ones in a pretty close proximity in network terms.

Re:Firefox has surpassed Chrome on Speedometer by zelphirkalt on Tuesday July 18, 2023 @09:11AM (#36771588)
I recently noticed something similar, when I had to enable DoH (unfortunately Cloudflare — good that this thing lives in a separate browser profile) to reach atlassian websites. Suddenly the pages loaded faster than without DoH. Still not sure what changed on my system (nothing?) or what my ISP did so that I could no longer resolve those websites, but at least DoH solved the problem for me.
Re:Firefox has surpassed Chrome on Speedometer by EVa5I7bHFq9mnYK on Tuesday July 18, 2023 @08:57AM (#36771434)
which is a fast DNS? 1.1.1.1 ? I thought the OS caches DNS anyway, so shouldn't matter much in day to day browsing.
Re:Firefox has surpassed Chrome on Speedometer by bayindirh on Tuesday July 18, 2023 @08:59AM (#36771453)
Anything you can "time nslookup" in or under 0.03 seconds (in "real" terms).

From my desk:

    local one - 0.029 seconds
    1.1.1.1 - 0.035 seconds
    8.8.8.8 - 0.120 seconds
Normally it should be, but Firefox's behavior is very sensitive to DNS response speed. Sounds not intuitive, but I think they're not using glibc's caching, or doing something by themselves.
Re:Firefox has surpassed Chrome on Speedometer by aidenn0 on Tuesday July 18, 2023 @09:48AM (#36772163)
In the past, at least, firefox has done its own caching since expiring my OS dns cache was insufficient to get it to pick up a change in DNS.
Re:Firefox has surpassed Chrome on Speedometer by CmdrKrool on Tuesday July 18, 2023 @10:39AM (#36773130)
Good reason to avoid Firefox for development imo. Nothing is more annoying than mysterious cache interventions when you're trying to get a handle on an unrelated problem.
Re:Firefox has surpassed Chrome on Speedometer by bayindirh on Tuesday July 18, 2023 @11:32AM (#36774143)
Dev tools automatically disables caching for that tab, by default.

CTRL+SHIFT+R always disables cache for that reload, too.

Re:Firefox has surpassed Chrome on Speedometer by aidenn0 on Tuesday July 18, 2023 @12:13PM (#36774847)
I didn't know about devtools doing that; C-S R is what I use when I run into it.
Re:Firefox has surpassed Chrome on Speedometer by bayindirh on Tuesday July 18, 2023 @01:01PM (#36775709)
On the Dev Tools’ network tab, there should be a checkbox about it on the top left.
Re:Firefox has surpassed Chrome on Speedometer by CmdrKrool on Tuesday July 18, 2023 @03:07PM (#36777696)
In the dev tools settings there is a checkbox "Disable HTTP Cache (when toolbox is open)" which name seems to imply that this only applies to the resources that make up the page, not to DNS lookups (about:config name is devtools.cache.disabled, and it defaults to false).

I investigated and found that Firefox's in-memory DNS cache can be manually cleared by clicking a button in about:networking. To be fair Chrome also has a similar cache and method for clearing it. See: https://www.makeuseof.com/chrome-edge-firefox-safari-opera-b...

Re:Firefox has surpassed Chrome on Speedometer by EVa5I7bHFq9mnYK on Tuesday July 18, 2023 @09:54AM (#36772263)
Tried it on a few sites, yeah, 8.8.8.8 consistently returns slower.
Re:Firefox has surpassed Chrome on Speedometer by jraph on Tuesday July 18, 2023 @10:02AM (#36772415)
Curious, where does this number comes from? (0.03 seconds)
Re:Firefox has surpassed Chrome on Speedometer by bayindirh on Tuesday July 18, 2023 @10:06AM (#36772485)
Nothing special. Just that if I have a DNS resolving around that timeframe, Firefox becomes noticeably faster.

All of the networks I have have a DNS server around that speed now, and Firefox works visibly faster on all of them. Possibly an intersection between human perception and hardware capabilities of my systems at hand.

Re:Firefox has surpassed Chrome on Speedometer by elishah on Tuesday July 18, 2023 @04:22PM (#36778567)
> "time nslookup"

Or as a slightly more thorough approach, you can use something like namebench or dnsbench:

https://code.google.com/archive/p/namebench

https://github.com/askmediagroup/dnsbench

Re:Firefox has surpassed Chrome on Speedometer by bayindirh on Tuesday July 18, 2023 @04:27PM (#36778632)
Yeah, while it's not as thorough as these tools, the method is at least reproducible and sane, and with ~10 or so samples, you get an interval with a nice confidence.

Another through method will be hyperfine[0], yet I wanted to provide a method which requires no installation and can be done in a whim, without jumps and hoops, with the tools already at hand.

[0]: https://github.com/sharkdp/hyperfine

Re:Firefox has surpassed Chrome on Speedometer by 5e92cb50239222b on Tuesday July 18, 2023 @09:10AM (#36771571)
Depends on your region and what sites you're using. I live in the middle of nowhere far from civilization, and 1.1.1.1 returns terrible IPs for many sites including google.com (which pings at 350-400 ms if you resolve it through 1.1.1.1, but at 90-100 ms if you're using any other resolver). They do it because they block EDNS0 in order to protect your privacy or something like that.

So I use 8.8.8.8 and 9.9.9.9 in parallel through dnsmasq. Whoever responds the first wins. If you're not stuck in the middle of nowhere, you're probably better off with the latter as it's somewhat more trustworthy than Google.

https://quad9.net/

Re:Firefox has surpassed Chrome on Speedometer by bayindirh on Tuesday July 18, 2023 @09:11AM (#36771587)
Isn't enabling "query all DNS servers in parallel" discouraged in DNSMasq?

Instead I increase the directory size to 4K and be done with it.

Re:Firefox has surpassed Chrome on Speedometer by 5e92cb50239222b on Tuesday July 18, 2023 @09:17AM (#36771664)
Maybe. I don't recommend it for the typical user of this site (probably could have phrased that one better — I believe `EVa5I7bHFq9mnYK` should use 9.9.9.9 instead of Google or Cloudflare, not that they should implement my parallel bullshit).

It makes sense here because of bad peering: 8.8.8.8 may be responding in 90 ms right now, but could very well start taking 200 ms a few hours later. So I use multiple services as a backup of sorts.

Re:Firefox has surpassed Chrome on Speedometer by itsTyrion on Tuesday July 18, 2023 @09:18AM (#36771676)
> fast DNS

> recommends quad9

huh?

Re:Firefox has surpassed Chrome on Speedometer by akino_germany on Tuesday July 18, 2023 @11:30AM (#36774092)
Find out for yourself using https://www.grc.com/dns/benchmark.htm
Re:Firefox has surpassed Chrome on Speedometer by EVa5I7bHFq9mnYK on Tuesday July 18, 2023 @02:24PM (#36777088)
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 :)

Re:Firefox has surpassed Chrome on Speedometer by akino_germany on Wednesday July 19, 2023 @12:56PM (#36789548)
Then you might find namebench appealing: https://code.google.com/archive/p/namebench/
Re:Firefox has surpassed Chrome on Speedometer by EVa5I7bHFq9mnYK on Thursday July 20, 2023 @02:01AM (#36797323)
thanks! I better hurry before ChatGpt brings GOOG under the $100B mark)
Re:Firefox has surpassed Chrome on Speedometer by sanxiyn on Tuesday July 18, 2023 @08:57AM (#36771436)
Chrome has better network stack. For most other things Firefox is faster, but of course, network is the most important.
Re:Firefox has surpassed Chrome on Speedometer by hnav on Tuesday July 18, 2023 @04:14PM (#36778472)
one deficiency in the FF network stack is that it doesn't properly detect existing pooled connections being broken by net route changes while Chrome does
Re:Firefox has surpassed Chrome on Speedometer by wintermutestwin on Tuesday July 18, 2023 @09:06AM (#36771523)
>Firefox's Container Tabs is hard for me to imagine losing.

Yes, and the lack of a viable vertical tabs solution for Chrome (though some Chrome based browsers have native implementations).

I am baffled how anyone could still be using horizontal tabs as it is clearly inferior. I am also annoyed as hell that it is not native in Firefox.

Re:Firefox has surpassed Chrome on Speedometer by seapat on Tuesday July 18, 2023 @09:13AM (#36771616)
What extension do you use for vertical tabs on FF? I tried tree style tabs and sideberry but liked neither.
Re:Firefox has surpassed Chrome on Speedometer by RunSet on Tuesday July 18, 2023 @09:23AM (#36771756)
Out of the box Tree Style Tabs is not very good, due to decisions made by Firefox that are beyond the control of Tree Style Tabs's developer.

Enabling the desired behavior likely requires quite a few steps beyond just installing the extension.

https://github.com/piroor/treestyletab/wiki/Code-snippets-fo...

Originally, Firefox had a dropdown menu that allowed the user to choose whether tabs were on the top, bottom, left, or right.

This has been an annoying trend with Firefox for some time. They take the default, expected functionality, marginalize it while saying "Users who prefer the old way can enable it in a setting / extension" and then the setting gets deprecated or the extension stops working.

See also: "Classic Theme Restorer".

All the while software that might work better as an extension is bundled with Firefox and enabled by default. e.g. "Pocket", "Hello".

Re:Firefox has surpassed Chrome on Speedometer by euazOn on Tuesday July 18, 2023 @09:29AM (#36771826)
Tree Style Tabs are great, but y'all should really check out Sideberry! It's modern and works very well.

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

Re:Firefox has surpassed Chrome on Speedometer by seba_dos1 on Tuesday July 18, 2023 @09:20AM (#36771706)
Not OP, but personally I'm using Tab Center Reborn with a bit of custom browser CSS to make it slide out on hover (so there are only favicons visible until hovered). It's just a vertical UI for tabs with handy filtering entry box, rather than a complex tab management thing like TST. The only thing I'm missing is filtering/jumping to the tabs that play sounds - it's easy to miss a tiny icon when you have thousands of tabs open :P
Re:Firefox has surpassed Chrome on Speedometer by alpaca128 on Tuesday July 18, 2023 @09:25AM (#36771784)
Tree Style Tabs would be so great if it had folders/nodes for categories of tabs. My workaround are tabs with fittingly named Wikipedia articles, but a builtin feature would be more pleasant to use.
Re:Firefox has surpassed Chrome on Speedometer by solarkraft on Tuesday July 18, 2023 @09:42AM (#36772037)
Sidebery has this!
Re:Firefox has surpassed Chrome on Speedometer by alpaca128 on Tuesday July 18, 2023 @10:08AM (#36772513)
Oh, that looks great, thanks.
Re:Firefox has surpassed Chrome on Speedometer by hencoappel on Tuesday July 18, 2023 @09:22AM (#36771728)
I use tree style tabs, what don't you like about it?
Re:Firefox has surpassed Chrome on Speedometer by seapat on Thursday July 20, 2023 @04:20AM (#36798046)
That I need to install additional extensions for features I wanted and also relying on those extensions to stay maintained. Also I don't like tree structuring generally, because I noticed that that just enables my tab hoarding habit. Configuration was also a bit annoying (in my memory) due to the drop down menus
Re:Firefox has surpassed Chrome on Speedometer by mixmastamyk on Tuesday July 18, 2023 @09:31AM (#36771867)
I use “tree tabs” and like it best due to its features like folders and unload-tab. However it is a pain in the ass to configure the theme to look right in dark mode. Plan on investing an hour. But once done is done.
Re:Firefox has surpassed Chrome on Speedometer by wintermutestwin on Tuesday July 18, 2023 @10:16AM (#36772672)
Sidebery without using trees because they waste valuable tab name space. Having more name space is a key advantage to vertical tabs. I use separate windows for high level categories and use the titler extension to name the windows. Sidebery doesn’t recognize the titles when you want to move a tab to a new window though. That’s one of a few pieces of kruft in my setup.

Mozilla sucks, but it is because all of this should be baked in, not because of pocket or whatever political thing that HN regularly brings up.

I have tried the vertical tab implementation in several other browsers and they are all inferior. Safari’s is hilariously bad.

Re:Firefox has surpassed Chrome on Speedometer by akaij on Tuesday July 18, 2023 @11:00AM (#36773529)
I use Sidebery, with some modifications from https://github.com/black7375/Firefox-UI-Fix/wiki/Options
Re:Firefox has surpassed Chrome on Speedometer by dspillett on Tuesday July 18, 2023 @09:46AM (#36772124)
> I am baffled how anyone could still be using horizontal tabs

I don't tend to work with a browser full-screen on my larger monitor (2560×1440) instead often using half the screen (so 1280px wide) or there abouts. My other screen is 1080×1920 (standard 1080 but portrait not landscape). In those cases I have less room for tabs on the side. It might be less of an issue but most of the side-tab options I tried had a minimum width noticeably wider than the minimum width of a tab in the standard layout.

What might work for me is tabs that can be flipped from horizontal to vertical at a keystroke, or perhaps even if they reacted to window size (with the default choice being easily overridden).

Re:Firefox has surpassed Chrome on Speedometer by kdklol on Tuesday July 18, 2023 @09:59AM (#36772357)
As a person who habitualy closes everything, I often average around 5 tabs open, rarely going above 10. With so few open at a time, the giant column of vertical space for the tab tree would be a waste of screen real estate, which can be better utilized to open another window i a vertical split arangement, or just for the website's content. Having said that, I know one of my friends has always at minimum 100 tabs open at any time, so he jumped at this feature as soon as ut released. It's a matter of preference I'd say.
Re:Firefox has surpassed Chrome on Speedometer by kevincox on Tuesday July 18, 2023 @10:38AM (#36773111)
I'm the same. In the rare case I do have a lot of tabs open it tends to be a queue that I work through in order anyways so having them not fit on screen isn't a problem. My theory is that once I get over 20 tabs or so it will be quicker to just re-open the document (just type a few words in the URL bar and history-search will find it) than actually locate and click it. I'm glad that Firefox is flexible enough for tab hoarders and tab closers. Having a horizontal tab bar that doesn't take up too much space is perfect for me.
Re:Firefox has surpassed Chrome on Speedometer by SAI_Peregrinus on Tuesday July 18, 2023 @02:28PM (#36777160)
The benefit of vertical tabs is (IMO) more about organization than having tons of tabs open. It's particularly useful to have a tree of tabs when browsing API documentation, to allow for quickly navigating to different doc pages in the hierarchy without having to wait for page loads.
Re:Firefox has surpassed Chrome on Speedometer by NelsonMinar on Tuesday July 18, 2023 @10:51AM (#36773334)
I switched to Chrome a few months ago and Container Tabs are the one thing I really miss. I can no longer quarantine Facebook. I can no longer easily juggle multiple login profiles for sites like Twitter. There's nothing like it in Chrome. Multiple profiles don't work well, too many UI problems. The SessionBox looks promising but it's such a complex mess and basically requires a paid plan to use effectively.
Re:Firefox has surpassed Chrome on Speedometer by kstrauser on Tuesday July 18, 2023 @01:22PM (#36776088)
I spend more than my fair share of time in AWS consoles. My company uses multiple accounts to segregate data and services were appropriate, and container tabs let me have several consoles open at once when I need them. That's such a wonderful productivity boost over having to have multiple browsers open.
Re:Firefox has surpassed Chrome on Speedometer by lattalayta on Tuesday July 18, 2023 @02:03PM (#36776777)
I always get suspicious when someone describes performance as "feels snappier"
Re:Firefox has surpassed Chrome on Speedometer by xd1936 on Tuesday July 18, 2023 @07:40PM (#36780442)
ok
Re:Firefox has surpassed Chrome on Speedometer by jklinger410 on Tuesday July 18, 2023 @02:23PM (#36777072)
Container tabs are unfortunately not very usable for me. I have extensions that are unique to the profile. When they decided to redo the tabs rather than modernize the profile workflow, it basically forced me to use chrome.