Firefox On Linux Gets Faster Builds — To Be Fast As Windows
dkd903 writes "Mozilla's Mike Hommey has announced on his blog that his team at Mozilla has finally managed to get the Linux builds of Firefox to use GCC 4.5 with aggressive optimization and profile guided optimization enabled. All this simply means that we can now expect a faster and less sluggish Firefox browser on Linux (both 32 bit and 64 bit systems)."
Too bad Linux sucks so bad at 3D acceleration that Firefox is stuck in a CPU rendering world.
The optimisations will be enabled in Firefox 6... is that the version that comes out this week or the week after?
As a long-time Firefox and GNU/Linux fan, this is excellent news. Whenever I use Firefox on even the most basic windows installs, it's always faster than my desktop running Arch Linux. It lags left and right, sometimes takes forever to switch tabs, but it's not unusable. Thanks Mozilla for remembering that you have a lot of Linux-using fans! :)
"Our country is not nearly so overrun with the bigoted as it is overrun with the broadminded." -Archbishop Fulton Sheen
Microsoft Internet Explorer is clearly superior in every way.
From TFA:
Switch back to Slashdot's D1 system.
I loved Firefox for the longest time.
I did. When it came out, it was so light and fast, that it put it's predecessor the Mozilla browser to shame. It was no contest. I even went so far as to buy the T-shirt, and go out of my way to enlighten every non techie friend I possibly could about it.
Over the years, Firefox got slower as my computer got faster. A lot slower, but I had to keep the update cycle going on my machine because for the most part... I didn't really have a choice. Today, Firefox on Ubuntu is almost totally unusable. It sucks up 99% of my system resources when I have two gmail windows open, it's always processing weird network requests, and it's so incredibly slow that I just don't feel like I want to have anything to do with the browser anymore.
Meanwhile, Google Chrome has added a Bookmark manager, and Firebug is available. Chrome also gets very regular updates from Google, and even with every possible stupid extension I like, it doesn't slow down. Granted, half of my extensions don't work right, and that's annoying, but the browser itself does what I want, at the speed I want it.
I really think Firefox has missed the boat here.
I might change my mind, but I'm in absolutely no hurry to try it out (as a web browser, it's a marvelous sqlite tool) again.
You may now gaze upon my greatness.
This is great news, but this also means that Firefox's memory usage problems are still not being properly addressed.
We don't need to hear any more excuses from the Firefox crowd about this problem. Yes, it does exist. Yes, it does cause problems. Yes, it is a bug. No, it is not "intentional".
What we need is for these Firefox supports to get these memory leaks fixed. Chrome, even with its multiple processes, doesn't use as much memory as Firefox does. Opera doesn't use as much memory as Firefox does. Safari doesn't use as much memory as Firefox does. Fuck, even IE doesn't use as much memory as Firefox does.
However according to Hommey, these new faster and less sluggish builds of Firefox for Linux will be available only from Firefox 6 onwards and we expect the first beta of Firefox 6 to available only by September - October 2011.
So, Firefox 1.0 came out in Fall 2004, and only in Fall 2011 will the Linux version be as fast as the Windows version?
Only more evidence that Linux on the desktop is still a toy for masochistic nerds.
This space intentionally left blank.
I've been using Linux long before than even Firefox existed, but I don't remember downloading Firefox from their website (so their builds) for Linux since it was the de-facto browser of choice of Linux desktop. I believe most users of Firefox on Linux use build of their distribution. Not to mention that also means couple of millions less for their download count.
Though, maybe their way of doing it or updates in makefiles help maintainers of distributions to put better builds. I guess that's what matters, not their own build on web page.
Such kind of news will be taken serious only when there are something real can be run and tested.
Wow.
Install FF 4, browse a while, close all but one _blank_ tab and guess what? Firefox uses 7-800 MB _active_ memory. Doing what? Who knows. And it becomes slow and unresponsive after using it a while. Again, close all tabs but one - and it's STILL slow and crappy. The only way to make it "ok" again is to close it and start it up again. This is on Linux. FF4 is imho the worst ever, and they are talking about FF5 and 6 now... how about making a working FF4 first? maby ff4.1, ff4.2, etc. FF3 didn't become anything near accepable until 3.5/3.6.
9/11: Never forget it was a false-flag operation
Does that mean they weren't using a profiler before now??
That... actually explains quite a bit...
Can you be Even More Awesome?!
Firefox got the web moving off IE6 but now facing competition from Chrome, Safari (default in the popular iOS devices) and Opera (which has it's market share niche in some countries). What Mozilla really needs to do is buy some cheap netbooks and force all its developers to test it on a slow processor. Or even get old early XP laptops with less than 512mb ram and really test it. If Firefox can get the reputation of being fast on older hardware (especially among IE6 hangouts with their aging corporate PCs) then it will be able to reclaim its falling market share from Chrome which is already the number 2 in many countries and 1 some such as Philippines, Tunisia and Serbia.
Mike Hommey's original blog posting on Faster Linux builds.
Firefox has always been the same speed for me in Linux and Windows. So now it's gonna be faster? Score.
Sorry man, you fell for a really weird version of the Version Number Marketing. Except this time, you seem to be saying they don't deserve to put good features in the next version?! Firefox "5 and 6" ... ARE 4.1 and 4.2!
You're thinking of the long exhausting push to make FF4. But for X reasons, they chose to amp up the version numbering, as well as to drill out a couple of features.
Yes, "it took them too long", that's what we all spot Linux for, right? "Give us features, don't worry about polish" right?
Except that just might be changing.
My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
I recently switched back to Firefox on my desktop and love it but when I tried Firefox for Android on my phone is was as slow as molasses. You can actually watch the page rendering in pixelated real time. Will the linux optimisations carry over I wonder?
However according to Hommey, these new faster and less sluggish builds of Firefox for Linux will be available only from Firefox 6 onwards and we expect the first beta of Firefox 6 to available only by September - October 2011.
Note that you do not need to wait, if you are ok with running a Nightly build. Nightly builds are the latest code, so they are obviously less stable. But you can get this improvement right now if you want it.
Otherwise, you can wait just a few weeks and Firefox 6 Aurora will be released, which is somewhat more stable, and will include this code. (6 weeks later will be a Beta, and 6 weeks after that, a stable release.)
from my post http://ask.slashdot.org/story/11/04/30/1720251/Ask-Slashdot-Best-Small-Footprint-Modern-Browser [....] .... i am currently running firefox 3.6.16 via untarring the linux installer into my home folder... i am running debian squeeze on a p4 3.0, 1g ram, it seems my 2gig swap partition isn't loaded/mounted, onboard video, and creative live sound card and have...80 tabs open(most of which being 4chan's /w/ Threads so there is lots of images)....plus BetterPrivacy, DownThemAll, FlashBlock, FlashGot, gTranslate, HTTPS-Everywhere, NoScript, Personas, Text to Voice Extensions running.
Surely with Firefox 3.6.X series of browsers you should be able to do what you want to do on your current computer. Although it may be hard to find anymore.
There is this video card called the "Voodoo" which has decent 3D acceleration on linux and there is also one called the "Matrox Millenium". I've got no idea how you managed to get hold of Firefox in 1996 or managed to get your posts on Slashdot to us in 2011 but please stop bothering us here in the future about problems already solved back in your time.
Also sorry to disappoint you, but we don't have flying cars yet.
Isn't the whole point of http://www.palemoon.org/ supposed to be Windows builds of Firefox with more optimized compiler options on par with what you would get from building it out of a Linux distro's repository? Granted, they also remove a few lesser used features (parental controls, some bits of activex support, accessibility options) to squeeze out a bit more speed.
Just tried the nightly, and there's definitively a perceived speed boost. I can't compare to windows version, but it's there on linux for sure. Easy as downloading the nightly to a local dir in your home, unpack and run. Better, some odd layout bugs of the stable seem to have disappeared too.
Calling it as fast as the Windows version is not calling it fast at all. In fact, compared to Chrome or Opera on Windows, its calling it slow.
I was a Mozilla/Firefox (and Netscape before that) user for many, many years... going all the way back to Netscape 3.01. I finally jumped to Chrome about a year ago, when the sluggishness of Firefox on Linux really started to piss me off. I've found that I really like Chrome's streamlined, minimalist approach; and IMO the recent addition of native PDF rendering capability is another feather in Chrome's cap. Even if Firefox manages to match Chrome's speed, that's not likely to get me to switch back...
It was one of my desire and complaint to Mozilla for long time .I have been using firefox for eternity! and always found it sluggish on variant of GNU/Linux distros( I run five at this moment i.e Gentoo, Arch,Fedora,Debian and Suse).
Thanks god at last some common sense prevail in the mozilla camp, they were doing lot of unnecessary thing adding here and there but missing the actual clog .
Keep up the good work guys.
Cheers!
Bhaskar
https://about.me/unixbhaskar
Firefox has ceased being That Thing Ubuntu Users Open Once to Install Google Chrome.. well, maybe. We'll see. It certainly has a shot now, I think.
Give me a break.
Chrome remains superior on Linux if you have 3D effects enabled because of hardware acceleration. ... assuming you only have an Nvidia card. ATI and Intel still are not accelerated.
Firefox uses DirectX and Direct3d which was a bad choice. Or maybe no choice at all was available on other platforms? OpenGL really is not designed for high definition video and 2d text acceleration.
Flash still is not fully accelerated either.
http://saveie6.com/
Have you tried FireFox 4 for mobile, which runs on both Android and Maemo? It was actually released Friday.
http://blog.mozilla.com/blog/2011/03/29/mozilla-launches-firefox-4-for-android-allowing-users-to-take-the-power-and-customization-of-firefox-everywhere-2/
Oops, I should have written Firefox 4 for mobiles was released March 29th.
So they did what I was able to do long, long ago with simple -march=native -O2 CFLAGS?
The difference in my build where I only did that over theirs was a huge improvement.
Its easy to cause a memory leak.
get jquery and jqplot, replot() a graph over and over, and it will leak to 3gig ram!!
Chrome wont leak, same JS code.
Unless Mozilla pays me 20 free bluray movies, i wont both emailing them.
Liberty freedom are no1, not dicks in suits.
They build firefox plug container with path to /usr/bin/lib/gcc hardcoaded. So if you have your latest GCC installed anywhere else in the system, you are toast. With the whole firefox going to 4.5.1, I guess I will have to stick with older versions, since the developers will hard code gcc paths into the code. God knows what sort of developers are writing open source code nowadays/
hahaha, sounds like FF needs its own user space micro kernel, mini linux with no drivers, the ones embedded devices like modems use.
Then the whole FF can be inside a a user level process that has its own VM/processes/threads etc... mini linux you can ssh to.
Dumb idea? not really... its one way to code for 'linux only' and make it run on any OS.
Liberty freedom are no1, not dicks in suits.
I'd rather have correct software over "optimized" software.
I hope TaoPhoenix logs a bug report because FF4 is just like he says: bloated and unresponsive. I found it unusable and went back to 3.6.
I wasn't using any sites with big images, but I did use AdblockPlus and TabMixPlus. Probably FireBug too. So, nothing particularly unusual.
FF4 just bloats up really fast (over 1GB of RAM for a few tabs, WTF are you DOING with all that RAM????) and is really laggy even if you close almost all windows. PS I use FreeBSD 8.2 and built FF4 from ports.
PGO did work on linux for a while a few years back but stopped when some code changes to the FF core borked PGO on linux (?jsctypes? was one thing maybe). - actually gcc 4.? didn't cope. We have then had to wait for a compiler upgrade to make it work again.
Yes I am subscribed to the bugs.
And thanks for working on this.
The Singularity is closer than you think
Quant
After all these years, as fast as Windows?
What a failure.
I find Firefox running on Lubuntu from a USB device runs faster than Windows on the same hardware ...
I can just imagine what Flash on Linux is compiled with.
Its already faster in linux than windows at least for me. it loads about twice as fastin lunux. I'm on a fresh install in xp too.
It doesn't need to be faster, it already plenty fast - I never notice a difference in speed from Windows to Linux. And of course the Linux version is far more stable than the Windows version.
Climate Progress - Hell and High Water
I would guess that most Linux users are using the build provided by their distro.
Perhaps posters here could specify their distro when posting good/bad reports.
Single datapoint: my Firefox build on Gentoo works fine !
That's great news. Just a clear demonstration of how open source and Firefox make IE look even worse these days.
Looking Forward to Firefox-Qt
I like Firefox. But this sort of article makes me worry about its future value.
Any time a salesman tries to explain the manufacturing technique or space aged materials used... I know that the product is almost certainly overpriced or deficient in comparison to competing products. I really dont care how beautiful the code is or how well it compiles with whatever exotic options. Contact me when you have real comparison tests for speed and a version to download.