Firefox Faster In Wine Than Native
An anonymous reader writes "Tuxradar did some benchmarks comparing Firefox's Windows and Linux JavaScript performance. 'We did some simple JavaScript benchmarks of Firefox 3.0 using Windows and Linux to see how it performed across the platforms — and the results are pretty bleak for Linux.' Later on, they tried Wine. 'The end result: Firefox from Mozilla or from Fedora has almost nil speed difference, and Firefox running on Wine is faster than native Firefox.'"
For everyone else in the world who does not know what PGO is maybe some details on why it is not enabled would be helpful.
And Linux is not a monolithic do-it-all library architecture?
And UNIX is easier to bug fix? Huh? Come on this is fairy tale stuff...
What they are talking about here is that a Windows application using Wine is faster than a UNIX application on UNIX.
I also would believe your argument if we were talking about a UNIX app built specifically for UNIX and Windows app built specifically for Windows. But we are not. We are talking about Firefox...
My guess is like a poster up above who said that optimization flags were used on Windows, and not on the Linux native build.
"You can't make a race horse of a pig"
"No," said Samuel, "but you can make very fast pig"
I dual boot between Windows XP and Ubuntu GNU/Linux (of the Intrepid Ibex flavor).
Firefox is slow on Linux in general. Page Up, Page Down, Arrow Up, Arrow Down, Ctrl+Plus and Ctrl+Minus (to increase and decrease the font size)...all of these things are instantaneous on Windows XP, but there's a noticeable lag on Linux.
I'm not sure what the problem is. I'm using the proprietary ATI drivers on Linux, which should be pretty fast. And my machine is old enough that all the kinks should have been worked out of the Linux drivers for my hardware.
Running firefox in TinyXP in Virtualbox is faster then native on my Ubuntu......
PS. My captcha is 'rejoice'
http://slashdot.org/comments.pl?sid=1126185&cid=26840435
See here - did a test on sucky slashdot 2.0
Still sucks
The Singularity is closer than you think
Quant
I think it stands as a testamant to the WINE folks. I know Linux distros and the various Window Managers - KDE/Xfce/IceWM/Gnome - have to handle things that Wintendo doesn't, as it is integrated into the OS from the get-go.
However, the results are not that dramatic. I'd be curious to see a few things, including how Native FF runs in KDE with the Gnome libraries loading up. (I run KDE.)
Also of note - I've posted before on lists that "starting" Word 2003 takes about half the time as it does to "start" OpenOffice 2.x on my distribution. I run CrossoverOffice and have Office 2003 loaded. My guess is that there may be something in Wine that optimizes these processes.
The Kai's Semi-Updated Website Thingy
Firefox is way more stable in my experience under MS Windows (and maybe WINE?) than under LINUX/X.
Admittedly I'm probably more of a 'power user' than most, but the thing that kills me about LINUX Firefox
is its GROSS instability under heavy load (e.g. problematic on both Fedora and Ubuntu 64 bit editions anyway).
It takes anywhere from a few minutes to a couple of hours of ordinary use in order for it to just crash and close down on me with no core dump.
This is on systems with 8GB RAM (so it is not a resource shortage), not using FLASH or similar plugins, and not always / generally using proprietary ATI/NVIDIA video drivers. Admittedly this often occurs with a high number of windows/tabs open (e.g. 85 windows, 500 tabs) -- just because that's a normal evolution of me leaving stuff open instead of closing them. However I've had it crash similarly frequently when only a few dozen windows/tabs are open, so it isn't strictly a super heavy load issue. Generally the crash is accompanied by some X windows system error, BadIDChoice or such. Here's a ~ 2 year old Ubuntu "confirmed" bug report listing very similar crash problems, though the exact X error seems like it could be a bit different here:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/97492
I just don't get their LINUX quality control, this happens so repeatedly over numerous 3.X versions of FF that I must assume that an automatic test script that repeatedly opened / closed a few hundred windows mocking normal usage would repeatedly trigger this, yet after apparently a couple of years of the problem being unresolved I still see no diagnosis / workaround / fix.
This just doesn't happen under MS Windows, though I tend to load down XP / Vista SLIGHTLY less with open tabs / windows than on LINUX, but on LINUX I can run FF for hours or days if I'm lucky. On MS Windows I can run it for days or weeks, so this is rather embarrassing / frustrating since in all other day to day use respects LINUX tends to be equal or superior to MS Windows in stability / functionality.
No chrome (yuck), super unstable firefox, konqueror just doesn't compare, opera I'm not a fan of == unhappy LINUX browsing.
One thing Chrome got right is one system process per window, at least a single error doesn't take down HUNDREDS of open browser windows. Even better would be true error recovery so that any error would just cause the affected threads / tabs to be reloaded with no loss of context and not having the whole browser crash. The automatic crashed session recovery is about the only thing that has kept me using FF on LINUX, though it sucks to wait like 20 minutes for your pages to reload, and then never perfectly (lost form data / buggy reload processes / whatever).
In my experience this is for multiple reasons gnome, compiz, pango, flash... Try running it on a gentoo system compiled without pango and on kde. Probably will be faster and more responsive
with GCC, and Intel. Lets find out if the code base difference between Windows and Linux is the issue OR the compilers.
I prefer the "u" in honour as it seems to be missing these days.
The native MS compiler is actually pretty dang good. It out compiles gcc any day of the week. MS need only worry about optimization details for a single architecture and platform. The GCC guys on the other hand have to optimize for tons of different chips, variants, and platforms, and as such are much more limited in what they can do. Furthermore, its is very likely the MS compiler supports many optimizations which GCC simply doesn't even support.
So its really not fair to say they created a half-assed version for Linux. There are many potential reasons why performance can greatly vary between platforms - especially if different compilers are used to create the builds.
Now here is some food for thought. Considering MS has a vastly superior compiler which commonly generates code 20%-50% faster, and in some corner cases even more than GCC, now imagine how poorly much of their code is written such that Linux with such a performance penalty, due to its native compiler, commonly out performs Windows. Hmmmm....
I think it's mostly that Firefox on Linux tries to use features of the graphics driver that aren't properly accelerated. This seems particularly true on newer nVidia cards - a GeForce 9 series card is much slower than a GeForce 7 series card, even with the latest drivers.
I've actually had the Linux version of Firefox performing better inside a VM than natively, because in the VM it has no accelerated drivers, and is forced to do everything in software. It turns out that, in spite of the VM overhead, software rendering everything and then just blitting the entire thing in one go using an accelerated driver is faster than using the accelerated driver to draw the thing in the first place.
I guess that's why Mac OS X doesn't use hardware accelerated rendering, except for compositing windows. Firefox is plenty fast on Mac OS X, although still noticeably slower than on Windows.
I'm not sure what the specifics are causing it, but I can honestly say that native Firefox on my Linux (Mint 6) system just blows. I have no idea just what they got wrong, but compared to my Windows systems (Vista on laptop, XP on my home desktop and work desktop), or my Mac systems, it just blows. Firefox on my 500mhz G4 Mac with 512MB of RAM is literally a whole different experience compared to Firefox on a 2.8Ghz Celeron Linux system with 2GB of RAM (I've also testing similiar results on my MythTV box which is a Sempron 3400 w/ 1GB RAM, and my old Linux machine which was an Athlon XP2100 w/ 1.5GB).
If I'm working slow - casually browsing the web, then I can't notice. Thing is I tend to crank open tons of tabs and flip between then when I'm web surfing. At work now (where I open less than at home), and having been here 15 minutes I count 12 tabs open in this browser session. At home I can easily have 75 or more open at once. Usually when flipping between them I'm a very fast clicker, and there is a most definate noticeable pause in the rendering as Firefox on Linux switches between tabs or closes/launches one compared to the other platforms. In general the pages themselves, when network bandwidth isn't the bottleneck, also render a tad slower and more "klunky" (ie, for fractions of a second I can see things appear in one spot and then quickly rearrange to their final positions, where on the other platforms I would have seen far more items just appear in their final location).
Even though it still doesn't match regular Firefox on the other platforms, I've taken lately to using Epiphany. While it has it's own issues, it still does have a slight speed edge over FF so I continue to use it for now.
Truthfully, if Linux could FINALLY ditch the inherent "slow" feel to most of it's apps (which I think it really more an issue with xorg and the GUI toolkits more than "Linux", though I'm speaking as an overall platform not a kernel here), then I think it'd pickup a lot of new users, and some part-time users might well become full time.
"People who think they know everything are very annoying to those of us who do."-Mark Twain
Laptops in particular often have slow hard drives. Antivirus slows them further. You're probably waiting for the disk all the time.
It's often compounded in a business environment by other disk access apps (auditing etc).
I know on my laptop, lauching firefox involves McAfee scanning Firefox, then Centennial scanning Firefox, then McAfee scanning Centennial, then McAfee scanning Firefox again.
"Those who cast the votes decide nothing; those who count the votes decide everything." (attrib. Joseph Stalin)
But FF's crappy performance/speed/response on Linux just really really sucks.
I keep looking for a new browser, but Konq + multimedia = crashtastic, midori & kahazekhaze are too overall unstable, and Epiphany is just under-featured. Opera isn't FOSS (which slays me--I love Opera like a little girl loves ponies, but I've got a pretty strong ethical committment to FOSS).
There's always elinks ;).
I ran the google v8 test 3 times and took the high on my Ubuntu machine, the results: Firefox linux: 68 Firefox wine: 104
I rebooted today after 42 days of uptime, and that includes 42 days of uptime of FF3 under Mandriva 2007.1. No crashes, not a one.
One thing I'd immediately observe, are you using a compositing window manager? Turn that crap off, nothing destabilizes X apps more than compiz and friends.
Other than that, I don't know, but your experience is totally opposite mine. Not only is FF3 adequately fast, it is perfectly stable. I can't say if it would be faster in windows or not because I don't HAVE windows and don't need it, but it is a perfectly fine browser as is.
"Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
GTK+ is damned slow. The file manager, Nautilus, has nothing to do with GTK+. Compare a GTK+ v2.0 app to a GTK+ v1.0 app. The GTK+ v1.0 app is orders of magnitude faster.
Can you compile Firefox & Ubuntu yourself and get better performance, then?
I'm not sure what the secret to success is, but the secret to failure lies in trying to please everyone -Bill Cosby
This will go unnoticed, but what the heck.
I was able to greatly improve the reactivity of both firefox and opera by moving the cache onto tmpfs systems. Actually, I moved full rc directories (.opera and .mozilla) and just rsync them from time to time.
Caveat - I have a sort of an improvised SSD (using a CF card and an adapter), which is quite slow esp. for concurrent writes. But maybe this is why I noticed it at all. I don't understand why the browsers insist on writing tons of data onto the hard drive when there's plenty of perfectly good memory lying around.
Cheers,
j.