Firefox 3.5RC2 Performance In Windows Vs. Linux
pizzutz writes "Andy Lawrence has posted a Javascript speed comparison for the recently released Firefox 3.5RC2 between Linux (Ubuntu 9.04) and Windows(XP SP3) using the SunSpider benchmark test. Firefox 3.5 will include the new Tracemonkey Javascript engine. The Windows build edges out Linux by just under 15%, though the Linux build is still twice as fast as the current 3.0.11 version which ships with Jaunty."
Ubuntu typically has everything but the kitchen sink running in the background; it's even worse than XP for frivolous defaults.
Get Slackware, or something else minimalistic, where you're likely to have a marginal amount of memory left after the operating system and residents are loaded in. ;)
Is there any explanation as to why there is the difference?
When Firefox on Linux is getting the crap treatment from its developers, what shall one use now?
This proves that, um, Windows,er, Linux is....um...what the fuck does this prove again?
And why the fuck should I care if there's a 15% difference in performance of Firefox between those two OSes? I use my particular OS for reason that have nothing to do with how well Firefox runs on it.
Firefox on Windows looks great/awesome/beautiful....name it. But on Linux, it is inherently ugly. The beast looks ancient and the fonts and dialogs make matters worse.
Folks, I am not trolling so have a look for yourselves and compare. There were efforts to "QT-size" it on Linux distros running KDE but that effort has no results I can see though there was something done by Nokia.
In its current status, Firefox needs serious love on Linux. Even my 14 year old sis can see the ugliness that Firefox shows.
In addition to all the features, a nice looking application is always pleasing to work with. Ask Apple or even Windows folks. They will agree.
Or even then...How would a good looking Firefox harm Firefox?
How well does it perform on Vista?
But I think the speed difference was due to the Windows binary having profiling based optimizations, vs the Linux bin.
Putting the blame all on Firefox when there's no doubt a certain amount of performance penalty that comes with a Linux's less good compiler is just lame. How about telling the linux tool makers to build tools that output faster and smaller code instead of demanding that app developers solve those problems? Finally, what "linux" build was this? Did it use profile guided optimization and other performance features of Mozilla's official Windows build system? If not, you're comparing apples to oranges.
Actually, it probably does say something about the superiority of the Windows compiler and potentially other Windows tools.
that matters when it comes to browser speed. I am running 3.5 beta on Ubuntu right now, with TraceMonkey turned on, and it really does well in terms of javascript performance.
But this doesn't change almost anything. GUI is still horribly sloooow. I have to reboot Firefox every few hours to keep it running somehow.
When I'm listening to online radio in one tab, and try to upload large file in other tab, my music is gone, Compiz marks firefox in grey as "not responding" and 2 of my 2GHz cores get 100% CPU usage for 10 mins. This is horrible.
The situation with Linux flash isn't any better. I really wish I could live without it, but as a web developer I cannot yet.
Watched documentary about beginning of Mozilla, a guy was given a job, maybe still on Netscape then, and he wanted "to make Mozilla run faster on Linux". Yeah, right. How many years have passed? 5? 10? crap.
Or even then...How would a good looking Firefox harm Firefox?
If the time spent making firefox look good could be spent on other things, the harm of a good-looking firefox is that said other things are missing; they could be performance, stability, bug fixes, new features.
Now, I said "if". I'm not certain the condition is satisfied: if I'm working on performance-optimizing some application I run a lot, I'm not going to work on making it look pretty if I think it looks just fine. I figure people who like the performance just fine isn't going to move away from working on the pretty either. (As long as they're volunteer developers).
The size of the opportunity cost also depends on how big the return on investment is, in looks and performance, comparatively. If one mythical man-month can make firefox look 200% better or be 50% more performant, well... 200 > 50. Though I'm not sure how you quantify pretty ;-) user approval rating, maybe?
So in short: how would a good looking firefox harm firefox? I have no clue! ;) But I know that the answer "none" is something you arrive at only after some consideration.
I keep hearing people saying that it's all GCC's fault, but I have seen no real proof of that. Nor why a profit making company such as Mozilla can't throw devs at GCC to fix the underlying problem.
"Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
... and anonymous users are dyslexic (tub onyl midly).
I got 1968 ms using Safari 4.0.1 on an old Mac Mini (Mac OS X 10.5.7, Core1Duo 1.66 GHz)... faster than Firefox with a Core2Duo 2.0 GHz Linux/Windows machine.
Can gcc compile Firefox for Windows, so that we can more confidently apportion blame?
I hope Mozilla 3.5 does better than the article indicates.
Using F10, and upgrading from 3.0.7 to 3.0.11 is worse.
Now my box only refreshes the browser screen when I move the frickin mouse!!
Talk about wrist action !!
And the top menu's and tabs still take their good ol' time
being re-displayed. On a 2.8ghz box.
Then release binaries made with the Intel compiler. It's a better optimizer than MSVC (and gcc) whether on Windows or Linux.
"Politicians and diapers must be changed often, and for the same reason."
Everything in these kind of tests usually makes MS and Intel compilers stand out vs gcc. On the desktop, the Wintel platform is shit slow all the time. I care for the latter. no 27 different systray update services for different crapware, the crapware, antivirus, etc running - just the apps and system services I have actually opted for,
'Once scientists, even the dim-witted social scientists, get muzzled, the Western Civilization is finished.' - oldhack
Are there around some tests about other open source software that could help us understand the problem ? We can find some on open office : http://www.oooninja.com/2009/03/multiplatform-benchmark-30.html Or Tomcat : http://mediakey.dk/~cc/tomcat-performance-linux-faster-than-windows/ But that does not seem to gie a clear understanding of what's happening.
Sorry, only things proven so far is that you have no clue at all about the meaning of the word "prove", and that there apparently are mods that are just as clueless.
I just did my benchmarks, dual booting, Ubuntu 9.04 x64 and Windows XP x32: XP: 1586.6ms Ubuntu: 2739.2ms Specs: Intel Pentium D 3.4Ghz, 4GB RAM.
When did Slashdot become such a COW?
Seriously, I try to scroll and the delay is very noticable to the point of annoying. I can load other large pages and scroll no problem. Is it a javascript performance issue or Firefox?
A feeling of having made the same mistake before: Deja Foobar
Yet another case of, "I Love Linux But..."
"Folks, I am not trolling..." he said. Very funny.
Other points making x86_64 the only choice at the same time making more favors to F/OSS / GNU/Linux:
It says on his website, "We also believe the most effective way to do business is to fully meet or exceed the expectations of our clients to help establish long-term relationships to benefit both our business and yours."
I'll give you three guesses which business he has established a long-term relationship with.
I think GCC is not known for generating very optimized code. Windows tools, OTOH, can more or less optimize all they want because desktop Windows is a x86-only world.
http://www.dieblinkenlights.com
The Javascript speed is not much of a factor. The one truly annoying thing with Firefox is the gawdawful Adobe Flash plug-in that hangs up at random, causing the whole browser to come to a screeching halt.
Excuse me, but please get off my Pennisetum Clandestinum, eh!
It is not a myth. ICC kicks the crap out of GCC. I didn't believe it until I had access to a computing cluster (Intel processors) with ICC installed. My ANSI C code runs about twice as fast using ICC than with GCC. Would you really expect anything different?
As always, YMMV, but I suggest that anyone who doubts this to download Intel's compiler (it's free as in beer) and try it out.
It's not open source, which does suck. But it does consistently produce faster code.
If you think it is the compiler that makes the difference, then why not prove it? Compile firefox in windows with gcc and do the comparisons again. If it comes closer to Ubuntu performance then it is a strong indication it is the compiler to blame. If not, put a sock in it.
BTW, the difference is 294.8 ms. That is less than a third of a second!
Are you people high? What does it matter? I mean really!
Of all the things that we should be concerned about with GNU/Linux on the desktop the speed of Firefox seems to be insignificant in the scheme of things. What I see as the show stoppers for most people are the lack of programs and/or features. Compatibility is an issue- but by no means is it a deal killer in most cases. Firefox will almost always run faster on GNU/Linux than MS Windows- and here is why. Most MS Windows computers are dog awful slow. People just don't have the ram necessary for running MS Windows. GNU/Linux users have the upper hand here in that GNU/Linux is generally better designed and thus needs less ram- by better designed I mean software tends to be lighter even with equivalent features and better integrated. When you buy a new compatible GNU/Linux printer- and I'm going to use HP in this example "it just works". You plug it in and you go to print. In MS Windows you'd spend at least an hour trying to get it working and it would slow your computer way down. Anyway- the point is that all this bloat is killing speed on MS Windows machines so even though a system with enough ram to meet the demands might run Firefox faster that simply isn't generally the case. We are a head in this area and I feel this should be relegated to a "we'll work on it someday".
The only reason I could see working on improving the speed today is if the resources that would be put into it aren't going to go into the GNU/Linux ecosystem otherwise.
Something is obviously completely out of control there.