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?
This is nothing new. Running Windows FF in WINE is faster than using Linux native FF.
Do what thou wilt shall be the whole of the Law
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.
That 15% could very well be measured in hours when the Slashtard coders get through with their Web 2.0 abominization of Slashdot.
But on Linux, it is inherently ugly. The beast looks ancient and the fonts and dialogs make matters worse.
Widgets and dialogs, ok, that's your aesthetic preference. But fonts? After a couple of years using Ubuntu I hate how Windows fonts look pixelated even with Cleartype on. Freetype is much better at its job than Cleartype. If only because of that, I prefer the looks of Firefox on linux than on Windows.
The state you are in while your HEAD is detached... - wait, what?
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.
A very large chunk of Firefox's developers have Linux as their primary platform. Linux Firefox absolutely doesn't get crap treatment from Firefox developers. You're obviously not familiar with the comparative qualities of the compilers on different platforms or you would asking "why do the Linux compilers get beat so badly by the Windows compilers."
>Ask Apple or even Windows folks.
You have seen Safari, haven't you?
It puts the 'f' in fugly.
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....
I'm running Windows XP and Ubuntu 9/04 side by side on similar laptops. Just to test, I looked at the main pages for Slashdot, Wikipedia (English), and Amazon, side-by-side.
My eyeball result of looking for differences between pages rendered with Firefox on Ubuntu 9.04 vs Windows XP:
Other than the issue for Amazon, the pages rendered look identical to me. The fonts for the menus look identical. I still disagree with the choice the mozilla team made to have the preferences/options menus with different titles in different locations for Linux versus Windows, but other than that, the UI seems consistent to me. The default GNOME theme for Firefox isn't as pretty as the new Firefox theme on Windows, but that's a minor aesthetic thing, and it's not ugly, it just isn't pretty.
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.
In Ubuntu 9.04 here, and I personally think the stock DejaVu fonts on Linux look quite nice. Actually prefer the traditional toolbar on Linux with Tango icons (tango.freedesktop.org) rather than the "enlarged back button" version found on Windows and OSX.
The only problem I see is the topic of this thread, i.e., performance. It's slow enough to feel slow, and the fact that most Linux distros run so well on old hardware makes the problem worse.
The bigger problem for the "Linux browsing experience" still seems to be Flash. Visiting a Flash-heavy site (like the horrible items produced by any given automaker) is a painful experience...it's bad enough that I'll typically crack open the MacBook. I find Flash sites consume an order of magnitude more CPU running natively in a Linux browser than they do running in a Windows XP VirtualBox instance hosted by the same Linux OS.
AdBlockPlus and FlashBlock are the only things that enable me to continue to use this computer for web browsing. It's somewhat of a sad state of affairs, given that it's more than quick enough to run multiple VirtualBox instances, Eclipse instances, and a GIMP instance with dozens of files open at the same time. But give it one web page with a few Flash advertisements, and you'll think you're on a Pentium 60.
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).
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.
That 15% could very well be measured in hours when the Slashtard coders get through with their Web 2.0 abominization of Slashdot.
People have been complaining or quite some time about poor performance on slashdot. What is it that shows this poor performance? I don't recall doing anything that isn't instantaneous here.
"I zero-index my hamsters" - Willtor (147206)
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.
I run it and it works.
"The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
The lag when posting a comment between hitting the "Preview" button and actually seeing the preview is downright painful.
Read my blog.
Yes.
Game! - Where the stick is mightier than the sword!
Unlikely to be X. I can play normal videos just fine at full speed. It's only Flash that eats CPU and is slow.
It's /. and it's sorry assed javascript, not firefox.
I went to preferences and chose 'classic view' to end this assclown behavior. That also ended the funny bars showing up in the middle of replies, the friend/foe icons plastered on top of comments, and other asshattery that was going on here also.
Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
>>I hate how Windows fonts look pixelated even with Cleartype on
There not pixelated, they have holes.
http://www.ecofont.eu/ecofont_en.html
It's save electricity. See, MS is justing trying to be a "green" company.
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.
The horrible fonts were what drove me away from Ubuntu after I installed it recently, hoping to use it as my primary desktop. I'm sure you've managed to fix up your fonts somehow, but let me tell you, a default ubuntu install (from the 8.x series, haven't tried more recent) produced such an eyeball searing ugliness in FireFox that it almost single handedly convinced me that Ubuntu wasn't ready yet (for me). The fact that a few searches with Google reveal hundreds of various ways to improve the fonts actually makes it even worse.
Since you'll undoubtably deny this having not witnessed it yourself, just search on google and see the thousands of perplexed newbies being driven away from linux by the fonts you think are so beautiful:
http://www.google.com/search?q=ubuntu+firefox+ugly+font
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.
So why not get Flashblock or remove the Flash plugin?
> So why isn't the Moz Foundation investing in a better compiler?
This is a good question; I believe it's largely a matter of not having found anyone to pay to do the work, but I'm not privy to details on this stuff...
> what does this say about the performance of any app running under Linux compared to the
> Windows version?
That if performance is gated on computation and codesize, and the code identical, it'll tend to be faster on Windows....
Thing is, for most apps performance is gated on I/O or display (if gated at all) more than on computation and codesize.