At the end of 2017, Mozilla introduced Firefox Quantum the blazing fast, completely reinvented Firefox. It was shipped with a new beautiful look and the speed compared to it's previous versions was obvious. One of Mozilla's claims too was the less usage of memory compared to Google Chrome. For a Firefox user like me, this was great news. I was able to notice the speed and enjoy the new design. But, I didn't pay attention to how it compares to Chrome in memory usage.
Recently I read a blog post saying that Firefox consumes more RAM than Chrome. This was not what Mozilla claimed a year ago, I felt betrayed. I started searching for other blog posts with other benchmarks. But, I found different answers with different results. So, I decided to do my own tests.
Making some tests
These tests are made in the following environment.
OS: Ubuntu 18.04 RAM: 8 GB Firefox: 64 Chrome: 70
After closing all the third party applicatins on my computer, I opened the Ubuntu
System Monitor to see how much memory was in use. The initial memory usage was:
memory: 2.1 GiB
Then I opened 30 tabs of 3 different websites in each browser while the other is closed. I used the
Guest Mode in chrome and the
Safe Mode in Firefox ( by going to
menu > help > Restart with add-ons disabled) in order to get rid of any effects of installed add-ons.
The opened tabs was the following:
Test 3: 30 Quasar-framework components' documentation pages (Field > Dialog).
Test 4: 20 different websites from the most famous ones (google, youtube, medium ...etc).
After the complete loading of the 30 tabs each time, I was opening the
System Monitor to see the total memory usage. knowing the total memory makes it easy to deduce the consumption of each browser. It is as easy as subtracting the initial value of used memory from the new one (I calculated it this way because Chrome opens a lot of processes in Ubuntu and it is hard to keep adding them up). The consumed memory values corresponding to each browser are shown in the table below.
|Test 1||1.0 GiB||1.3 GiB|
|Test 2||1.3 GiB||2.7 GiB|
|Test 3||1.2 GiB||2.1 GiB|
|Test 4||0.9 GiB||1.3 GiB|
The results above demonstrates that Firefox Quantum really uses less memory than Google Chrome, at least in my case. That supports Mozilla's claims about it's new kid. I shared here the results I got. But, I can not garantee that everybody else will get the same thing. Concerning the speed, I didn't make a real comparaison between the two. They are comparable in speed and I could not notice any difference in usage. Firefox nowadays is not the same Firefox couple of years ago.