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.
That 15% could very well be measured in hours when the Slashtard coders get through with their Web 2.0 abominization of Slashdot.
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.
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.
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.
>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.
"But on Linux, it is inherently ugly. The beast looks ancient and the fonts and dialogs make matters worse." What do you mean "on Linux"? On Ubuntu? on Fedora? Some other distro? The OS is responsible for the fonts, not Firefox and the distros almost all make changes to the default look and feel of Firefox.
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.
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.
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.
Not really. It fits in with the rest of Gnome fairly well, and if you throw on the Linux equivalent of "Cleartype" the fonts are actually quite nice. Installing the "mscorefonts" that most distros have these days makes Firefox rendering between the two practically indistinguishable, aside from, again, that Clear/Freetype rendering beauty.
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).
So what is the problem Flash, or Linux?
/^([Ss]ame [Bb]at (time, |channel.)){2}$/
Fix your eyes!
I'm a peer reviewed, 5 year at university 4 years at work designer and I say firefox on winows is *not* better looking that Firefox on Linux (gnome).
7 years of college, down the drain!
skin your ff and you wont tell the difference between the windows and linux version. And calling it ugly just shows that you don't bother taking a minute or two to find a theme that doesn't give you an eye sore. *very windows like*
Here, I'll even help you out. https://addons.mozilla.org/en-US/firefox/browse/type:2/cat:all?sort=popular
Some of the themes can blow your "beautiful" windows theme out of the H2O.
Can gcc compile Firefox for Windows, so that we can more confidently apportion blame?
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)
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.
The lag when posting a comment between hitting the "Preview" button and actually seeing the preview is downright painful.
Read my blog.
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
Other points making x86_64 the only choice at the same time making more favors to F/OSS / GNU/Linux:
So what is the problem Flash, or Linux?
Neither. Probably X Windows. (Yes, I know the correct name is "X Window System", but I don't care!)
"I don't know, therefore Aliens" Wafflebox1
Unlikely to be X. I can play normal videos just fine at full speed. It's only Flash that eats CPU and is slow.
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!
>>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
Iroincally enough, IE8 is faster at it than Firefox 3.0, too. One of the first things I noticed when the IE8 public RC (never mind the actual release) came out. Kinda sad...
There's no place I could be, since I've found Serenity...
I emailed Malda about this a year ago; we exchanged several emails; here is where it ended (I do not know how to check for this; I'm more EE than CS):
Is it possible that your ISP is transparently proxying your requests? A lot of providers do this, and very few people ever notice.
FYI.
Can anyone look into this?
I read somewhere that's because Flash video decodes to RGB while X likes YUV video, so flash video can't use XV. If you try playing any video without XV it'll be slow and stutter.
That said, for some reason flash video plays much better on my nvidia card at work than my ati card at home.
Photos.
I want to run ray-traced Quake that is written in JavaScript on Firefox ;)!
Something is obviously completely out of control there.
Seriously? Ever time I load a story with a lot of replies, my browser damn near freezes while I wait. And I'm posting from a Core 2 Duo machine with 4gb of RAM. That's fucking retarded no matter how you look at it. And OMFG like that other guy said...the lag between hitting preview and seeing the preview is ridiculous.
I'm not normally one to hate new stuff, but this is completely insane. Digg did the same damn thing. You can't load up a page with 100's of replies with AJAX ffs. It doesn't work. It runs like SHIT and makes browsing the site so very painful.
"Those who would sacrifice essential liberties for a little temporary safety deserve neither liberty nor safety." - BenF
I'm reasonably certain this isn't the case: I've seen the behaviour through several connections, and most of those connections are not the sort that would have transparent proxies.
are you sure that's not an anti-spam feature?
There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
Funny, they modded you troll but you're of course right. Firefox on linux looks like shit.
The comments on slashdot might take more screen real estate, but they're much easier on the eyes (when the CSS mostly works).
The Daily Kos' narrow column of constrained text makes it painful to sift through many comments.
Their page loads do seem faster, but that's probably due to a simpler DOM (and feature set).