Forum › Forums › New users › New Users and General Questions › Chrome vs Firefox
- This topic has 8 replies, 5 voices, and was last updated Mar 8-9:45 pm by rokytnji.
-
AuthorPosts
-
March 5, 2022 at 9:12 pm #78584Member
blur13
Hi!
Was checking firefox-esr vs chrome memory usage and I consistently get that chrome uses less memory. For example, loading this forum chrome clocks in at about 150 MiB less memory used. Anyone else get this result? Could it be because the whole web is more or less designed around chrome?
March 5, 2022 at 9:51 pm #78586MemberModdIt
::Hi, pretty much impossible to make a fair comparison as so many factors and settings are involved. I get opposite results with regard to indicated memory usage but a massive, often gigabyte sized cache with chrome based browsers. I do a scripted delete every login. Reason: The cache was so large on a user machine that the desktop would no longer load.
Another factor is how graphics processing is setup, acceleration on by default in chrome so a lot of processing is offloaded to a GPU when present. I have it off as it caused desktop freezing with my particular config and machine. Predictive prefetching is yet another factor. My personal facet is use the browser you are happy with, make it as secure as possible, block ads and java when you are able. Unless you run in to massive swapping or other memory related issues that is, then you may find pale moon more useful.March 5, 2022 at 9:53 pm #78587Moderator
Brian Masinick
::Hi!
Was checking firefox-esr vs chrome memory usage and I consistently get that chrome uses less memory. For example, loading this forum chrome clocks in at about 150 MiB less memory used. Anyone else get this result? Could it be because the whole web is more or less designed around chrome?
That could very well be. In the very early days of Google Chrome, it was an extremely efficient, light weight, fast browser in every possible way, but it was also pretty simple and basic. Over the years it has gained many features, and of course, Google also uses it as a tool to track web page clicks, buying patterns, and a lot more. Some people are troubled by any form of tracking, whether it’s 100% personal or it simply tracks numbers and “tendencies”.
In years past, I would’ve thought that Chrome used less memory; today I think it depends which instance of a browser you use, how many tabs you use and what the memory requirements are for the pages that you visit; all of these factor into CPU, memory, and storage consumed by browsing activity.
I haven’t recently checked what uses most, least, etc. I can easily go over 1 GB of memory consumed IF my browser is open for quite a while and I visit a lot of pages with “rich” content – lots of images or scripts that execute when I click on a page or a selection. On the other hand, if I use a text only browser and look at only 1-2 pages of exclusively text, with no executable content, graphical imagery or executable content, resources can be quite reasonable, so as we often see and read: “Your Mileage May Vary” (considerably), depending on usage.
--
Brian MasinickMarch 5, 2022 at 9:54 pm #78588Membermadibi
::hi, for me the delta is about 100 Mb less memory, in http://www.google.com page.
A bit higher for chromium
mMarch 6, 2022 at 9:09 am #78596MemberModdIt
::Was looking in to this some more, my answer was certainly only covering some facets and only typical on one hardware setup.
Toms Guide also reports Firefox , (non ESR but engine is same) using slightly more ram than chrome, in that test
Edge which was also included and chrome based came out showing best, that was on windoze but still interesting to
read. Leaves me wondering how much time and effort went in to fitting the two together so as to be able to claim a
more efficient browser. A test on Linux might differ.We realy should also state how we are reporting memory usage, I use top and htop rather than just relying on my conky.
There were some differences in result.Especialy newer users might find the output of top and htop confusing, below will hopefully help.
VIRT – the total amount of memory accessible to a process, includes RAM, Swap and shared memory being accessed.
RES – is the most accurate representation of how much resident memory or physical memory a process is using.
%MEM – represents the percentage of physical RAM used by a particular process.My GPU is also certainly not idle when browsing, I can hear that from fan speed and see reported temperature changes
depending on pages loaded. Complex subject.March 6, 2022 at 4:46 pm #78630Moderator
Brian Masinick
::Good point! I generally use htop to examine resource usage; you can get a good overall understanding of resources that includes a system summary and you can look at specific processes too.
--
Brian MasinickMarch 8, 2022 at 1:34 pm #78767Member
blur13
::https://www.phoronix.com/scan.php?page=news_item&px=Firefox-95-Chrome-97
Chrome scores better on almost all the benchmarks on the latest iterations of the browsers. So from a pure resource perspective Chrome seems better. Of course, there is the privacy/tracking issue. On a modern computer I’m sure the perceived difference between the two is negligible in terms of responsiveness. However, on old hardware resource optimization is paramount. Maybe I’ll look into ungoogled chromium to get the benefits of chrome without the invasiveness of google.
March 8, 2022 at 1:59 pm #78769Moderator
Brian Masinick
::@blur13: I don’t worry about the tracking and ‘intrusion’ myself, but if you are concerned about such things, I wouldn’t use either of the Chrome based browsers. Same with most of them.
LibreWolf, which ModdIt had mentioned a few times, is a Firefox based browser that has ‘better’ defaults for the security conscious individual and they just released an update that put them close to the functionality of Firefox.
Speaking of Firefox, Version 98.0 is out today; it’s been available for a few days on the Beta Firefox channel and the release can be downloaded on the Mozilla Firefox download page.
MX Linux and antiX do a pretty good job keeping up with Firefox change. I don’t see LibreWolf anywhere except their own site. See post on it in our forum.
--
Brian MasinickMarch 8, 2022 at 9:45 pm #78799Forum Admin
rokytnji
::$ smem PID User Command Swap USS PSS RSS 2915 harry dbus-launch --autolaunch eb 0 336 424 2388 2916 harry /usr/bin/dbus-daemon --sysl 0 320 446 2644 2923 harry /usr/bin/dbus-daemon --conf 0 332 483 3016 2176 harry /usr/bin/icewm-session 0 352 511 3280 3049 harry /usr/lib/x86_64-linux-gnu/g 0 756 1014 5596 2272 harry /bin/bash /usr/bin/devmon - 0 744 1149 3704 2108 harry /bin/bash /usr/local/bin/de 0 788 1222 3756 2918 harry /usr/libexec/at-spi-bus-lau 0 808 1369 6856 2930 harry /usr/libexec/at-spi2-regist 0 896 1414 7260 6879 harry /bin/bash 0 1516 1977 4724 2273 harry conky 0 3748 4603 10320 2181 harry /usr/bin/icewm --notify 0 5740 7465 18648 2239 harry volumeicon 0 6716 10086 23528 3786 harry /usr/lib/firefox-esr/firefo 0 8172 12427 34560 6875 harry roxterm 0 6824 12534 30396 6967 harry /usr/bin/python3 /usr/bin/s 0 14344 14516 17220 6713 harry /usr/lib/firefox-esr/firefo 0 13984 24055 71452 3685 harry /usr/lib/firefox-esr/firefo 0 16116 30470 88496 3633 harry /usr/lib/firefox-esr/firefo 0 55832 72397 136000 3563 harry /usr/lib/firefox-esr/firefo 0 83856 106957 179104 3477 harry /usr/lib/firefox-esr/firefo 0 332992 363399 456944Just showing how I check memory usage. If wondering how smem works.
man smemShould cover it.
$ smem PID User Command Swap USS PSS RSS 7584 harry cat 0 84 141 1716 7585 harry cat 0 88 147 1756 2915 harry dbus-launch --autolaunch eb 0 336 397 2388 2916 harry /usr/bin/dbus-daemon --sysl 0 340 454 2664 2176 harry /usr/bin/icewm-session 0 352 462 3280 2923 harry /usr/bin/dbus-daemon --conf 0 332 466 3016 7591 harry /opt/google/chrome/chrome_c 0 312 759 3040 7589 harry /opt/google/chrome/chrome_c 0 428 870 3280 3049 harry /usr/lib/x86_64-linux-gnu/g 0 756 940 5596 2272 harry /bin/bash /usr/bin/devmon - 0 744 1128 3704 2108 harry /bin/bash /usr/local/bin/de 0 788 1197 3756 2918 harry /usr/libexec/at-spi-bus-lau 0 808 1264 6856 2930 harry /usr/libexec/at-spi2-regist 0 904 1311 7268 7599 harry /opt/google/chrome/nacl_hel 0 1492 1553 3988 7602 harry /opt/google/chrome/chrome - 0 240 1831 16292 12704 harry /bin/bash 0 1508 1956 4860 2273 harry conky 0 3724 4389 10320 7629 harry /opt/google/chrome/chrome - 0 1172 5143 44524 2181 harry /usr/bin/icewm --notify 0 5816 7134 18776 7598 harry /opt/google/chrome/chrome - 0 148 7391 56976 2239 harry volumeicon 0 6020 8945 23528 7639 harry /opt/google/chrome/chrome - 0 1340 9175 25596 7597 harry /opt/google/chrome/chrome - 0 644 9971 56652 12660 harry /opt/google/chrome/chrome - 0 4940 10481 62156 12702 harry roxterm 0 6880 11786 29748 10802 harry /usr/bin/pulseaudio --start 0 9440 11827 24672 3786 harry /usr/lib/firefox-esr/firefo 0 8152 11928 34636 12730 harry /usr/bin/python3 /usr/bin/s 0 16824 16922 19796 12508 harry /opt/google/chrome/chrome - 0 8824 16998 80660 10543 harry /opt/google/chrome/chrome - 0 8348 18069 88424 8123 harry /opt/google/chrome/chrome - 0 11612 19876 75536 6713 harry /usr/lib/firefox-esr/firefo 0 13984 23749 71452 3685 harry /usr/lib/firefox-esr/firefo 0 16088 30151 88540 8714 harry /opt/google/chrome/chrome - 0 21696 36763 119084 8645 harry /opt/google/chrome/chrome - 0 25860 39900 119624 7620 harry /opt/google/chrome/chrome - 0 32264 48100 108372 7622 harry /opt/google/chrome/chrome - 0 52196 63128 130280 3633 harry /usr/lib/firefox-esr/firefo 0 62544 81647 152124 3563 harry /usr/lib/firefox-esr/firefo 0 114272 138130 214008 7579 harry /usr/bin/google-chrome-stab 0 132816 154481 249256 12552 harry /opt/google/chrome/chrome - 0 190352 208461 294596 3477 harry /usr/lib/firefox-esr/firefo 0 275556 307947 406036Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problems -
AuthorPosts
- You must be logged in to reply to this topic.