Slashdot Mirror


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."

240 comments

  1. Don't benchmark it on Ubuntu by petrus4 · · Score: 3, Interesting

    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. ;)

    1. Re:Don't benchmark it on Ubuntu by larry+bagina · · Score: 5, Insightful

      Firefox isn't slower because of ubuntu, it's slower because the microsoft's C compiler is better than gcc.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    2. Re:Don't benchmark it on Ubuntu by Freetardo+Jones · · Score: 4, Informative

      It has nothing to do with Ubuntu. Here are benchmarks from Firefox on Fedora: The issue is just as bad on Fedora: http://www.tuxradar.com/content/browser-benchmarks-2-even-wine-beats-linux-firefox. That's only from a few months

    3. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 4, Funny

      It's because it's an interesting post, while your previous one was flamebait.

    4. Re:Don't benchmark it on Ubuntu by K.+S.+Kyosuke · · Score: 3, Informative

      Surprising? Because your post *did* smell of something burning, while the MSVC claim has at least some merit - MSVC really got better. I guess it had to, it would be a shame if MS threw a couple of megabucks on it with no results at all.

      --
      Ezekiel 23:20
    5. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      ... it would be a shame if MS threw a couple of megabucks on it with no results at all.

      Yes, because we all know that such it has never happened with MS...

    6. Re:Don't benchmark it on Ubuntu by K.+S.+Kyosuke · · Score: 1

      No one is claiming that it hasn't, either - that's why we have no Microsoft Visual Bob 2008. :)

      --
      Ezekiel 23:20
    7. Re:Don't benchmark it on Ubuntu by Locke2005 · · Score: 4, Insightful

      I am SHOCKED and AMAZED that a compiler specifically implemented for x86 (with assistance from Intel) produces more efficient x86 machine code than a compiler that is based on a general purpose architecture with just a back-end code generator for x86. Next you'll be telling me that a Swiss army knife isn't as good for skinning animals as a Bowie knife and that an amphibious vehicle is neither as fast on land as a Ferrari nor as fast in the water as a cigarette boat!

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    8. Re:Don't benchmark it on Ubuntu by mR.bRiGhTsId3 · · Score: 3, Insightful

      You know all that stuff that's running in the background. Well, it's running in the background, which means that most of it should be swapped out and it shouldn't wake up very often to do stuff.

    9. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 2, Interesting

      So how hard is this to test? Anyone want to run firefox win32 binaries on linux with WINE? Since the executable code will be faithfully executed by the CPU we can eliminate the compiler differences from the equation.

      Somebody else do it. :) I'm busy.

    10. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 5, Informative

      Visual C is not "compiler specifically implemented for x86". It supports (and supported in the past) lots of architectures -- x86, x64, Itanium, Alpha, MIPS (and MIPS16), PowerPC, ARM (and Thumb), Hitachi SuperH, Infineon TriCore, several other embedded CPUs as well.

      Of course x86/x64 are main targets, but my guess it is so for GCC as well :-)

    11. Re:Don't benchmark it on Ubuntu by R2.0 · · Score: 2, Insightful

      "Next you'll be telling me that a Swiss army knife isn't as good for skinning animals as a Bowie knife "

      Actually, in most cases one would be better off with a Swiss Army type knife than a Bowie knife. Even on a large animal, parts of the skinning process are delicate and take a light touch, and the smaller blades are better at that. And then get to smaller animals - may as well just beat that rabbit with a rock as use a Ka-Bar. In addition, the saw blade of a SA knife is handy for cutting cartilage, etc.

      A Bowie knife is a fighting knife, made more for killing and rough work. It will do other things, but not that well. That being said, when the meteor hits because DOD "blocked" the satellite information, and I have to choose 1 knife, it would be the Ka-Bar or similar. Why? Because I want to stay alive to have the opportunity to skin rabbits with my poor tool, and whipping out a Swiss Army knife will only make a zombie laugh.

      --
      "As God is my witness, I thought turkeys could fly." A. Carlson
    12. Re:Don't benchmark it on Ubuntu by SilverEyes · · Score: 1

      More interesting modding :P

      --
      Interesting.
    13. Re:Don't benchmark it on Ubuntu by fairyliquidizer · · Score: 0

      The Intel C compiler is better still.

    14. Re:Don't benchmark it on Ubuntu by rbanffy · · Score: 4, Insightful

      They also have an easier job. MSVC doesn't need to address as many architectures as GCC does. IIRC, there is no MSVC for s/390

    15. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 2, Insightful

      I am shocked and amazed that the company which destroyed all competing commercial compilers by hiring their best developers away now has a really good compiler.

    16. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      Oh my darlin' gcc
      She's the only gal for me!
      They say God wrote it all in lisp
      But when the sun's burnt to a crisp
      And Haskell and Ocaml have been garbage collected
      Ol' gcc will still be there,
      With pointers shining in her hair,
      And though in past my syntax errors may've been rejected
      Sweet gcc will take me back,
      For she has what the others lack:
      -O3 and license that's to freedom connected!

    17. Re:Don't benchmark it on Ubuntu by selven · · Score: 4, Insightful

      Just because you can justify Linux's inferiority in this one area doesn't mean that we don't need to improve it.

    18. Re:Don't benchmark it on Ubuntu by cbhacking · · Score: 1

      What's your point? Both are presented as general-purpose desktop operating systems (Slackware has some proponents who will try and claim that status for it too, but most of them wouldn't get very far). At the very least, try it on another "user-friendly" desktop-oriented distro.

      Of course, they're also benchmarking on a 2-month-old build of Ubuntu (designed for the capabilities of modern hardware, and the features of a modern OS) vs. on a 92-month-old build of Windows. When XP came out, it said that its minimum requirements were 128MB of RAM (on which it runs little better than Vista on 512MB) and people thought that was a lot! This is a ridiculous comparison.

      --
      There's no place I could be, since I've found Serenity...
    19. Re:Don't benchmark it on Ubuntu by msclrhd · · Score: 1

      A while back, I ran some tests on Firefox 3 with Wine vs Linux native (http://spreadsheets.google.com/pub?key=pCaFy3jQwNj5XFrxvcYJxPA&gid=3). Results: Firefox 3 Windows executable with wine built using the -O3 compiler setting was the winner (although, on average there wasn't much difference between the different wine versions).

      This was with the V8 tests. I haven't tested FF 3.5rc2 yet, nor have I experimented with the build options.

    20. Re:Don't benchmark it on Ubuntu by msclrhd · · Score: 4, Informative

      It will depend on what compiler settings were used to build the glibc library, what architecture it was tuned for, whether or not the glibc library is targeted to the specific version of the kernel you are using. It also depends on what options were used to build the companion libraries, as well.

      Also, the last time this was discussed on slashdot, I seem to remember that it was Profile Guided Optimisation (PGO) that helped FF on Windows. This would allow the compiler to better structure the machine code to keep as much of the program running in the CPU cache as possible (by pre-loading branches in conditional statements that are executed more frequently).

    21. Re:Don't benchmark it on Ubuntu by eplawless · · Score: 0

      To be fair, GCC doesn't *need* to support as many architectures as it does, and the team should probably switch focus to improving performance on its most popular platforms if they want to remain relevant...

    22. Re:Don't benchmark it on Ubuntu by Skye16 · · Score: 2, Funny

      Wait, is it a zombie meteor?

      I'm confused.

    23. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      Ok, so gcc doesn't suck. Only its back-end code generator for x86 does.

    24. Re:Don't benchmark it on Ubuntu by tyrione · · Score: 1

      Firefox isn't slower because of ubuntu, it's slower because the microsoft's C compiler is better than gcc.

      Very soon they can leveraged LLVM where it makes sense.

    25. Re:Don't benchmark it on Ubuntu by Locke2005 · · Score: 1

      It is a Gnu inferiority, not a Linux inferiority. And yes, we do need to improve it.

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    26. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      Bollocks. I've skinned rabbits, wallabies and grey kangaroos and I'm telling you conclusively that a Bowie knife is better.

      A Swiss army knife is too fiddly and constrictive for such tasks.

    27. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      Don't go looking at Ubuntu's minimum requirements. Whatever the hell you do, don't look up Vista or Win 7.

      I thought that the reason that no one wants Vista is that XP is 'good enough'? What features, exactly, does a 'modern OS' have that XP lacks?

      Also, do note they're not benchmarking an OS, they're benchmarking an application. I'm sure that if the test had been performed on Vista, you would have called foul for it being a bloated pig of an OS and not in general use, and if it had been Win 7, you would have howled about it being in beta.

      This mostly seems to be testing GCC versus the microsoft compiler, at one remove.

    28. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      Has anybody actually tested this claim (against Firefox)?

      IIRC, the last time anybody measured things it was found that running the Win32/MSVC build under Wine was faster than a native GCC build. If this is still the case, the right test would be:

      • gcc/linux native (presumably 32 bit, since Mozilla doesn't support Win64 yet)
      • msvc/win32/wine
      • mingw/win32/wine

      The last one would be the one to provide proof on whether MSVC is superior over GCC (for this particular application).

    29. Re:Don't benchmark it on Ubuntu by harish.babu · · Score: 1

      Well, M$ did throw 'a couple of mega bucks' to come up with Windows Vista. And everyone knows what 'merit' it had!

    30. Re:Don't benchmark it on Ubuntu by True+Grit · · Score: 2, Informative

      improving performance on its most popular platforms if they want to remain relevant...

      You don't understand, GCC's portability is the reason for its very existence. Thats not optional. GCC has got more than 20 backends (architectures) and 8-10 frontends (languages) for goodness sake, no freakin' wonder its a little slower than MSVC/ICC, those latter guys only have to worry about 2 backends (x86/x86_64) and 2 frontends (C/C++).

      GCC's wide portability is what currently guaranttees its relevancy. The minute GCC starts chasing clock cycles on the x86 platform (at the expense of the others), that will be its curtain-call...

    31. Re:Don't benchmark it on Ubuntu by harish.babu · · Score: 1

      Folks over at tuxradar did this comparison a while ago. Here (http://www.tuxradar.com/content/browser-benchmarks-2-even-wine-beats-linux-firefox) are the results. No surprise that FF running under Wine beats native FF on linux

    32. Re:Don't benchmark it on Ubuntu by xtracto · · Score: 1

      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. ;)

      I do not agree with this, testing on Windows XP vs Ubuntu is good if you want to compare the "standard" out of the box performance. A test when you do a fresh install of BOTH systems and on top of that install the testing app.

      What is wrong here IMHO is the title of the story, as it should be "Firefox 3.5RC2 Performance in Windows Vs. Ubuntu" because as you implied, saying tested on "Linux" is a very general claim. That could refer to testing it on the Kernel+GNutils + X.org and nothing else... surely that would improve its performance a bit.

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    33. Re:Don't benchmark it on Ubuntu by xtracto · · Score: 1

      Maybe it would be an interesting experiment to benchmark a Firefox release compiled with icc?

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    34. Re:Don't benchmark it on Ubuntu by Bert64 · · Score: 1

      It's not the background apps, the windows version running under wine actually outperforms the native linux version too.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    35. Re:Don't benchmark it on Ubuntu by Bert64 · · Score: 1

      What if you compile the linux version using intel's compiler?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    36. Re:Don't benchmark it on Ubuntu by Bert64 · · Score: 1

      The problem is that mainstream distributions are trying to cater to as many users as possible, so they supply binaries which are targeted at a generic 686 (pentium pro) or even a 386... This is part of the reason why 64bit distros seem so much faster, because the lowest possible 64bit machine is still a lot closer to today's tech.
      The mainstream distros should define a cutoff point, and not support anything older... There will always be someone else to do that, with specific lightweight distributions.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    37. Re:Don't benchmark it on Ubuntu by Bert64 · · Score: 1

      How about on a gentoo system, where firefox has been compiled to target the particular cpu?
      How about a 64bit system?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    38. Re:Don't benchmark it on Ubuntu by mqduck · · Score: 1

      With space being so cheap these days, I wonder why distributions don't offer precompiled binaries for each separate --march flag.

      --
      Property is theft.
    39. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      In other words, Ubuntu has had an advantage of 90 months of improvements and it still can't beat XP's performance.

    40. Re:Don't benchmark it on Ubuntu by donaldm · · Score: 1

      This is part of the reason why 64bit distros seem so much faster, because the lowest possible 64bit machine is still a lot closer to today's tech.

      I agree with you but to be sure I tried running the benchmark on my laptop (1.8GHz Intel Centrino dual core 64 bit with 2GB memory) running the 64 bit Fedora 11 and Firefox 3.5 beta 4 and got a really abysmal result on my machine. The first is my results:

      RESULTS (means and 95% confidence intervals)
      Total: 3848.4ms +/- 1.3%
      3d: 482.2ms +/- 10.1%
      cube: 157.8ms +/- 21.5%
      morph: 150.0ms +/- 11.8%
      raytrace: 174.4ms +/- 15.9%

      The next is the 32 bit Win XP version.

      RESULTS (means and 95% confidence intervals)
      Total: 2076.4ms +/- 5.2%
      3d: 243.2ms +/- 8.9%
      cube: 61.6ms +/- 20.1%
      morph: 70.8ms +/- 7.8%
      raytrace: 110.8ms +/- 15.5%

      I won't bore you with the rest but needless to say Firefox 3.5 RC 2 running the SunSpider javaScript test on MS Windows XP SP3 32 bit and Ubuntu 9.04 32-bit appears to be a better performer than Firefox 3.5 Beta 4 64 bit on Fefora 11 64 bit. Still this only means that this benchmark is slower but going from Firefox 3 to 3.5 definitely appeared faster although this is a bit subjective and not a statistical proof.

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    41. Re:Don't benchmark it on Ubuntu by donaldm · · Score: 1

      It has nothing to do with Ubuntu. Here are benchmarks from Firefox on Fedora: The issue is just as bad on Fedora: http://www.tuxradar.com/content/browser-benchmarks-2-even-wine-beats-linux-firefox. That's only from a few months

      I tried the V8 benchmark on my laptop (1.8GHz Centrino dual core, 2 GB memory) with Firefox 3.5 Beta 4 64 bit on Fedoral 11 64 bit and got 150 first and 142 second. Not that good, but then again is this really a problem since getting Firefox 3.5 subjectively my web browsing appears much faster and for the majority of users quicker browsing is more important.

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    42. Re:Don't benchmark it on Ubuntu by TheLink · · Score: 1

      Because what you said was incorrect, and what he said was true.

      Even though ubuntu has stuff loaded up, they're not running using 10% of the cpu. Just go do a top and see how much cpu is in use when you're not doing anything.

      My ubuntu machine has two vmware virtual machines running on it and they only use about 3-4% of CPU total when not doing much - the machine is 96-97% idle with these running. If I suspend them, the machine would be 99-100% idle.

      If using ubuntu and not slackware could cause the 15% difference in speed then something is wrong with the linux scheduler. Or someone in ubuntu has screwed up big time.

      --
    43. Re:Don't benchmark it on Ubuntu by Anonymous Coward · · Score: 0

      Linux is a kernel, this stuff runs in userland. So it's probably better to say glibc.

      I always find Linux server stuff is 2x faster than Windows at least. But the userland stuff is slower than Windows.

    44. Re:Don't benchmark it on Ubuntu by MikeBabcock · · Score: 1

      It would be nice to do a comparison of both compiled with ICC instead (assuming the Firefox source code is compatible).

      --
      - Michael T. Babcock (Yes, I blog)
    45. Re:Don't benchmark it on Ubuntu by James+Skarzinskas · · Score: 1

      I don't mean to rain on your parade, but Microsoft's compiler targets multiple architectures as well.

    46. Re:Don't benchmark it on Ubuntu by Just+Some+Guy · · Score: 1

      With space being so cheap these days, I wonder why distributions don't offer precompiled binaries for each separate --march flag.

      Probably because it multiplies the load on their build servers by the number of supported platforms.

      --
      Dewey, what part of this looks like authorities should be involved?
    47. Re:Don't benchmark it on Ubuntu by larry+bagina · · Score: 1

      TraceMonkey compiles javascript to native code. It most likely generates better x86 code than x64 code. They're using some of adobe's tamariz, Actionscript is also compiled to native code which is why adobe took forever to get flash on x64.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    48. Re:Don't benchmark it on Ubuntu by mqduck · · Score: 1

      Sure, but that's a one-time (-per-package-per-version) thing. It's not like compiling a package is such a colossal task.

      --
      Property is theft.
    49. Re:Don't benchmark it on Ubuntu by Just+Some+Guy · · Score: 1

      As of this instant, apt-cache search '' | wc -l returns 28,308 packages. It may be infeasible for them to compile that many packages multiple times.

      --
      Dewey, what part of this looks like authorities should be involved?
  2. But why? by Anonymous Coward · · Score: 2, Interesting

    Is there any explanation as to why there is the difference?

    1. Re:But why? by Freetardo+Jones · · Score: 5, Informative

      The Windows version is compiled with PGO (profile guided optimization) while Linux versions aren't.

    2. Re:But why? by moon3 · · Score: 4, Interesting

      The problem is that GCC is pretty much the only compiler on Linux used these days and while the code is very nice C++ compilers on Windows produce a bit better code still.

      But when I mention Watcom C++ or other aspiring open source compiler here, a compiler that could possibly interest Linux community and spawn some competition for GCC then I get modded down often by people citing GCC is good enough for everybody and everything.

    3. Re:But why? by asa · · Score: 1

      In addition to a compiling process called profile guided optimization, or PGO, it's also a safe bet that the Windows compiler just spits out better (faster and smaller) results than the Linux compiler.

    4. Re:But why? by larry+bagina · · Score: 5, Informative

      also worth mentioning is llvm. gcc-llvm has an llvm backend doing code generation (which sometimes beats standard gcc, sometimes doesn't). There's also a non-gcc c/objective c/c++ compiler, clang, in development, though it may be a couple years before c++ support is complete.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    5. Re:But why? by Anonymous Coward · · Score: 0

      My own take on this is that there is a philosophical difference at the heart of the difference between GCC and VC++ with regards to optimization.

      I think that MS' compiler has an attitude of "Ha, You turned on optimizations! Now I can do what ever I want to with your code!". Well, not the compiler as such, but you get the point.

      GCC has more of an academic heritage, which might be influencing it even today, which is to say, it may have a greater respect for the structural equivalence between source and binary.

      Or something along those lines.

      Obviously I have no idea what the exact differences are, but I use both compilers frequently.

    6. Re:But why? by Locke2005 · · Score: 1

      Didn't gcc 4.0 strip out all the processor-specific optimizations? I don't think it has ever been put back in. Sure, optimizing for x86 and not other processors shows a certain bias, but I'll take x86 bias over poorly optimized code any day.

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    7. Re:But why? by guyniraxn · · Score: 3, Interesting

      What if we threw SwiftFox in to the comparison?

    8. Re:But why? by Locutus · · Score: 1

      in the 90s, the Watcom compiler produced some of the fastest code out there. I know it was open source and is still used but it would be interesting to see what it could do in cases like this. If it's as good as it used to be, showing a 15% improvement and eliminating any speed advantage MS compilers might have would be eye opening for many who might consider gcc the only compiler for GNU/Linux software.
       

      LoB
       

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    9. Re:But why? by Rockoon · · Score: 2, Informative

      Watcom isnt even top-3 anymore.

      The king of C compilers is now ICC, with both MSVC and GCC way behind.

      --
      "His name was James Damore."
    10. Re:But why? by Anonymous Coward · · Score: 0

      I wonder how a patch against some JS-file could improve speed - see http://getswiftfox.com/source/swiftfox-3.5rc2.patch

    11. Re:But why? by Prune · · Score: 2, Informative

      One can always use the Intel compiler on Linux. The performance of compiled code is comparable to that the Intel compiler produces with its Windows version.

      --
      "Politicians and diapers must be changed often, and for the same reason."
    12. Re:But why? by joib · · Score: 1


      Didn't gcc 4.0 strip out all the processor-specific optimizations?

      No.

    13. Re:But why? by pseudonomous · · Score: 1

      Isn't there also an Intel compiler available for Linux?

    14. Re:But why? by masmullin · · Score: 0

      Mod parent down... GCC is good enough for everybody and everything!!!

    15. Re:But why? by pz · · Score: 4, Informative

      The problem is that GCC is pretty much the only compiler on Linux used these days and while the code is very nice C++ compilers on Windows produce a bit better code still.

      In my experience, MS's VC++ produces not just a bit better code than gcc, but whole hocking meeses better code. VC++ is a damned good compiler, no matter what one might think about the company that generated it, while gcc is a merely decent one, no matter how much one might want to promote FOSS.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    16. Re:But why? by David+Gerard · · Score: 2, Informative

      The OpenWatcom license is OSI-approved, but I don't see why. It failed DFSG, and I asked the FSF about it and they can't make head nor tail of it either.

      --
      http://rocknerd.co.uk
    17. Re:But why? by Lennie · · Score: 1

      I guess it's still available, here:

      http://www.openwatcom.org/index.php/Main_Page

      --
      New things are always on the horizon
    18. Re:But why? by flyingfsck · · Score: 1

      The Microsoft C compiler generates very well optimized code. It has beat out GCC by 10% or more since time immemorial.

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    19. Re:But why? by rbanffy · · Score: 1

      GCC _is_ good enough for a lot of stuff.

      I would consider other compiler if it can compile all of my current distro to all architectures it supports. I find the x86 world remarkably boring,

    20. Re:But why? by tao · · Score: 1

      The reason is that OSI approves pretty much every license on earth. The FSF has nothing to do with OSI (if they did, I would lose all respect for the FSF, considering the crap licenses accepted by OSI)...

    21. Re:But why? by David+Gerard · · Score: 1

      I was surprised because the OSI rules are based on the DFSG, and the OpenWatcom license fails those laughably.

      --
      http://rocknerd.co.uk
    22. Re:But why? by Anonymous Coward · · Score: 0

      Interesting. Is it possible to supply a benchmark comparing the two compilers?

    23. Re:But why? by electrosoccertux · · Score: 3, Interesting

      It feels just as slow. It's not just Gnome, it's slow in KDE and XFCE, too.
      It is currently faster to run Firefox.exe under Wine than it is to run it native in Linux. (Yes I have tried this, the difference is night and day; it's just as fast in Wine as it is in windows).

    24. Re:But why? by asa · · Score: 2, Insightful

      Many of the rendering engine parameters can be set in Firefox's preferences. Firefox prefs are stored as a js file. Swiftfox makes a different set of trade-offs in these parameters than the Mozilla engineers. You're free to take your pick, but I'm goin' with the Mozilla engineers.

    25. Re:But why? by msclrhd · · Score: 1

      If it is the Microsoft compiler that is causing the performance gain, how do you explain the performance increase on running Firefox through Wine. Surely, since Wine and the Linux system that it is running on are built with gcc, you'd expect it to run slower, or have marginal difference to native Linux.

      That's not to say that the Microsoft compiler isn't any good. It's more likely that the Windows binary has had profile guided optimisation enabled and is better organised for branch prediction and the other insane things that CPUs do nowadays to keep things in the CPU cache longer.

    26. Re:But why? by Anonymous Coward · · Score: 0

      Sounds great! Where can I download the Linux version?

    27. Re:But why? by tao · · Score: 1

      Things like foundation documents, constitutions, etc., seems to be generally ignored these days. Consider the FRA-law in Sweden, the PATRIOT act in the US... The examples are numerous. These days I'm generally more surprised if people keep to their ideals. Then again, I'm a cynic.

    28. Re:But why? by amdpox · · Score: 2, Informative

      Wine runs the code almost raw - the only difference to running on windows is that Win32 API calls are handled by Wine rather than Windows. All the computation that Firefox itself does is run exactly as it is on windows, ad thus the optimisations MSVC makes to the machine code are still there when it's run under Wine.

    29. Re:But why? by Trelane · · Score: 1

      It's also free for on Linux non-commercial use: http://software.intel.com/en-us/articles/non-commercial-software-download. The Fortran and C as well as vtune and a bunch of other software (e.g. the Math Kernel Library) are all available for free, non-commercial use on Linux. Of course, AMD's software doesn't even have that restriction. :)

      --

      --
      Given enough personal experience, all stereotypes are shallow.
    30. Re:But why? by Bert64 · · Score: 1

      Other architectures also have their own specific compilers... MIPSPro, Sun Studio, CCC....
      The problem is that a lot of software is tied to gcc extensions, which is effectively a form of embrace and extend.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    31. Re:But why? by RightSaidFred99 · · Score: 1

      I know. I much prefer all those much faster CPUs out there to boring old x86.

      Wait, there aren't any that are faster. Doh!

  3. So what shall one use now? by lordmetroid · · Score: 1

    When Firefox on Linux is getting the crap treatment from its developers, what shall one use now?

    1. Re:So what shall one use now? by mister_playboy · · Score: 4, Informative

      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 ::: Love is the law, love under will
    2. Re:So what shall one use now? by illiter4te · · Score: 1, Flamebait

      Why not just use XP? -.- -- All Heil Microsoft!

    3. Re:So what shall one use now? by Anonymous Coward · · Score: 0

      Twice the performance of 3.0 isn't good enough for you? Yeah, the developers obviously don't care...

      Mod parent Troll.

    4. Re:So what shall one use now? by asa · · Score: 4, Insightful

      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."

    5. Re:So what shall one use now? by Anonymous Coward · · Score: 0

      Why are you lying? You're a Mac OS X fairy anyway.

    6. Re:So what shall one use now? by westlake · · Score: 1

      A very large chunk of Firefox's developers have Linux as their primary platform. 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."

      So why isn't the Moz Foundation investing in a better compiler?

      ---and what does this say about the performance of any app running under Linux compared to the Windows version?
       

    7. Re:So what shall one use now? by BZ · · Score: 2, Informative

      > 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.

  4. There! You have it! by Anonymous Coward · · Score: 0

    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.

    1. Re:There! You have it! by Anonymous Coward · · Score: 5, Insightful

      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.

    2. Re:There! You have it! by Anonymous Coward · · Score: 0

      'Sfunny, the only Slashdot-ish site that does AJAX really well seems to be Daily Kos. They've had automatically updating threads with 1000+ posts for at least a year now. And it's fast. And the interface isn't horrendously ugly. Like Slashdot, the community has devolved into 90% annoying idiots, but that's a different problem.

    3. Re:There! You have it! by Colonel+Korn · · Score: 2, Interesting

      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)
    4. Re:There! You have it! by jalefkowit · · Score: 2, Informative

      The lag when posting a comment between hitting the "Preview" button and actually seeing the preview is downright painful.

    5. Re:There! You have it! by cbhacking · · Score: 1

      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...
    6. Re:There! You have it! by Anonymous Coward · · Score: 0

      Loading the front page freezes firefox for up to 30 seconds.

    7. Re:There! You have it! by electrosoccertux · · Score: 1

      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?

    8. Re:There! You have it! by Anonymous Coward · · Score: 0

      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.

      On my Pentium 4 desktop, if I scroll down while the system is under load, it goes much slower than almost any other website (such as old slashdot).

      On my Core Duo (not core 2) laptop, it's always slower and laggy to scroll.

      SCROLLING. Seriously. It's fucking 2009 and scrolling is eating the entire processing power of one of my two cores. Something is wrong.

    9. Re:There! You have it! by webheaded · · Score: 1

      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
    10. Re:There! You have it! by Anonymous Coward · · Score: 0

      On a linux eeepc 900 (900mhz celeron) with the default firefox 2, it takes some *minutes* for slashdot to display.
      Then at leat 30 secs to open a story in a tab.
      And every 2 tabs it locks for 2 minutes.

      basicaly you cant browse slashdot.

      Other, less JS intensive, sites are relatively fast, e.g. you can browse them without furstration.

    11. Re:There! You have it! by William+Ager · · Score: 1

      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.

    12. Re:There! You have it! by LS · · Score: 1

      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
    13. Re:There! You have it! by psyclone · · Score: 1

      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).

  5. My problem with Firefox is this by bogaboga · · Score: 0, Troll

    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?

    1. Re:My problem with Firefox is this by wiredlogic · · Score: 0, Troll

      But on Linux, it is inherently ugly. The beast looks ancient and the fonts and dialogs make matters worse

      Part of that is Gnome but a lot of the ugliness is the native XUL theme used on Linux which goes out of its way to emulate Gnome's worst characteristics. You used to be able to download the XP on Vista theme for Linux but they've stupidly blocked Linux users from doing that anymore.

      --
      I am becoming gerund, destroyer of verbs.
    2. Re:My problem with Firefox is this by pablomme · · Score: 4, Interesting

      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?
    3. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      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).

    4. Re:My problem with Firefox is this by WarwickRyan · · Score: 2, Funny

      >Ask Apple or even Windows folks.

      You have seen Safari, haven't you?

      It puts the 'f' in fugly.

    5. Re:My problem with Firefox is this by jdgeorge · · Score: 4, Informative

      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:

      • Slashdot (slashdot.org): indistinguishable
      • Wikipedia (en.wikipedia.org/wiki/Main_Page): indistinguishable
      • Amazon (www.amazon.com): Bold fonts in the "Shop All Departments" navigation menu appear too big on Ubuntu; they don't quite seem to fit properly.

      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.

    6. Re:My problem with Firefox is this by asa · · Score: 1

      "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.

    7. Re:My problem with Firefox is this by TodLiebeck · · Score: 4, Informative

      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.

    8. Re:My problem with Firefox is this by gbarules2999 · · Score: 1

      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.

    9. Re:My problem with Firefox is this by atomic-penguin · · Score: 1

      The bigger problem for the "Linux browsing experience" still seems to be Flash.

      So what is the problem Flash, or Linux?

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    10. Re:My problem with Firefox is this by Anonymous Coward · · Score: 1, Funny

      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!

    11. Re:My problem with Firefox is this by Anonymous Coward · · Score: 1, Informative

      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.

    12. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      My personal test:

      Fonts for India languages (Hindi/Gujarati/Marathi) look much nicer in Gentoo/Ubuntu/Knoppix, than in Win2K/XP/Vista.

      The sites in question use unicode, and are the resp. language versions of Wikipedia, Google News aggregator, Regional newspapers in resp. languages, etc.

    13. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      In the case he described it is either Flash's Linux version or Linux. Either way the result he finds is that Flash on Linux is terrible and runs slower than Flash-on-Windows-in-a-VM which is pretty bad. Probably it is Flash doing a poor job of using OpenGL on Linux or something like that - or having a translation layer to do it that eats CPU.

    14. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      It fits in with the rest of Gnome fairly well,

      That's the problem. Firefox looks ugly because gnome looks as ugly as a old man's pimply butt.

    15. Re:My problem with Firefox is this by Nutria · · Score: 1

      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
    16. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      Oh, Safari is ugly, that makes it ok for firefox to be ugly too then amirite?

    17. Re:My problem with Firefox is this by FooBarWidget · · Score: 2, Informative

      Unlikely to be X. I can play normal videos just fine at full speed. It's only Flash that eats CPU and is slow.

    18. Re:My problem with Firefox is this by fairyliquidizer · · Score: 0

      Flash performance on Linux and Mac are equally awful (in terms of FPS) although the Mac versions seams less buggy. Further reading for those interested in this topic... http://arstechnica.com/software/news/2008/10/benchmarking-flash-player-10.ars

    19. Re:My problem with Firefox is this by AmigaHeretic · · Score: 2, Funny

      >>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.

    20. Re:My problem with Firefox is this by zuperduperman · · Score: 2, Insightful

      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

    21. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      but ... I _AM_ on a Pentium 60!

    22. Re:My problem with Firefox is this by metalhed77 · · Score: 1

      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.
    23. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      They're different. They're not worse.

    24. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      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 the problem is Flash, really. On MacOS X I can watch youtube videos on VLC using no more than 15% of the CPU (2.4GHz MacBook, Intel GMA X3100), while Flash uses over 60%. Pausing the video and avoiding interaction with Flash doesn't help, it keeps hogging the CPU no matter what. The CPU will cool and the fan will spin down only after Flash stops running.

      It's funny how Flash manages to use almost as much CPU to play crappy quality video as quicktime uses to play 1080p H.264 video.

    25. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      Anyone complaining about the fonts in Firefox is obviously running a pre-3.0 version of FF, or somehow managed to screw up a dead-simple Linux install.

    26. Re:My problem with Firefox is this by RightSaidFred99 · · Score: 1

      Funny, they modded you troll but you're of course right. Firefox on linux looks like shit.

    27. Re:My problem with Firefox is this by Anonymous Coward · · Score: 0

      I bet here's the difference (for people that used Ubuntu 8.xx or other distros and got nasty fonts.). I put ubuntu-restricted-extras on mine first thing, which along with java, flash, and etc. installs msttcorefonts. I expect many systems may have those fonts on them. I can also say the font appearance changes drastically depending on how freetype is setup.

                As for flash, agreed! I'm hoping gnash gets up to par. When it DOES work it's massively faster than flash. I think something in flash must busy loop -- I'll see some flash page use like 90% CPU time, run on a box 1/2 the speed and have flash still using 90% on there too.

  6. Speaking of Bloat by Junior+Samples · · Score: 1, Troll

    How well does it perform on Vista?

    1. Re:Speaking of Bloat by Anonymous Coward · · Score: 0

      What would that matter. If it turns out to be 15% slower on Vista everyone will just say:

      1) Linux must be as crappy as Vista!
      2) Vista is just as advanced as Linux!

    2. Re:Speaking of Bloat by otaker · · Score: 1

      How well does it perform on Vista?

      Firefox does even better on Vista then on Linux machines...

    3. Re:Speaking of Bloat by CannonballHead · · Score: 1

      This is a strange question. "Ok, so it's slow on mainstream Linux distros. I bet its slow on Vista, too!" I don't think it IS as slow on Vista, but I fail to see how that question does anything but try to say "Vista is just as bad as Linux."

      Which, considering the fact that most geeks are more of the opinion that "Vista is a garbage can in comparison to the Taj Mahal/Buckingham Palace/[Insert Expensive Cool Place] that we call Linux," seems to be rather fruitless. Unless, of course, you're willing to admit that Linux isn't necessarily better in everything than Windows. :) Which is fine with me, who uses both quite extensively.

    4. Re:Speaking of Bloat by cyber-vandal · · Score: 1

      It does seem weird however to compare the performance of an app on the latest version of Ubuntu versus that of the previous (and now 8 year old) version of Windows. I'm sure it's even quicker on Windows 2000.

    5. Re:Speaking of Bloat by msclrhd · · Score: 1

      Vista even looks like Gnome:

      * compact 'save as' dialog -- check;
      * expand/collapse arrows on treeviews without any grid lines -- check;
      * buttons as folders for directory navigation as the default for and alternative to the address bar -- check;
      * user prompted for password when doing admin stuff -- check;
      * an XML-based GUI markup -- check.

    6. Re:Speaking of Bloat by adolf · · Score: 1

      I'm sure that they'd have loved to make a more fair comparison, say, between XP and an 8-year-old version of Linux.

      But: Firefox 3.5 RC2 won't run on 8-year-old versions of Linux.

      So, there. :P

    7. Re:Speaking of Bloat by cyber-vandal · · Score: 1

      I'm sure there's someone out there prepared to prove you wrong. But that person is not me. ;-)

    8. Re:Speaking of Bloat by zoips · · Score: 1

      Vista doesn't use WPF. That ended up being one the huge schisms between DevDiv and the Windows group, that .NET and WPF was shifting too much during the buildup of Vista for the Windows group to actually use, so Vista using WPF was scrapped. Obviously WPF ships with .NET 3.0, and many new .NET based apps use it (it's sure as shit better than Windows Forms).

  7. I'm not sure about this by mail2345 · · Score: 1

    But I think the speed difference was due to the Windows binary having profiling based optimizations, vs the Linux bin.

    1. Re:I'm not sure about this by Benanov · · Score: 1

      That and Ubuntu does its own recompile...they make changes. It's not Mozilla's build.

    2. Re:I'm not sure about this by atomic-penguin · · Score: 1

      That and Ubuntu does its own recompile...they make changes. It's not Mozilla's build.

      I doubt that Ubuntu has an official 3.5 RC package built, as of yet. The benchmark article, even suggests, they are still shipping Firefox 3.0.11 with Ubuntu 9.04. No matter how bleeding edge Ubuntu may seem, it is very unlikely that Canonical would ship a Beta version or Release Candidate of Firefox.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    3. Re:I'm not sure about this by Teun · · Score: 3, Informative
      Hmm, Adept says: Firefox Version 3.5~b4~hg20090330r24021+nobinonly-Oubuntu1 Package is maintained by Ubuntu Mozilla Team

      I run it and it works.

      --
      "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
    4. Re:I'm not sure about this by butalearner · · Score: 1

      Very untrue, considering they shipped Hardy (a long-term support release no less!) with Firefox 3 Beta 5 as the default browser.

    5. Re:I'm not sure about this by asa · · Score: 1

      That and Ubuntu does its own recompile...they make changes. It's not Mozilla's build.

      I doubt that Ubuntu has an official 3.5 RC package built, as of yet. The benchmark article, even suggests, they are still shipping Firefox 3.0.11 with Ubuntu 9.04. No matter how bleeding edge Ubuntu may seem, it is very unlikely that Canonical would ship a Beta version or Release Candidate of Firefox.

      The Ubuntu guys that maintain Ubuntu's build of Firefox are pretty quick to get new versions compiled. That doesn't mean it shows up in the primary Ubuntu repo, but I'd bet that they've built it already.

    6. Re:I'm not sure about this by atomic-penguin · · Score: 1

      I was not questioning whether the Beta software works or not. The grandparent poster suggested that the benchmarked Firefox Release Candidate in this article was in fact, an official Ubuntu build as opposed to a Mozilla build. The article suggests that Ubuntu 9.04 still ships with Firefox 3.0.11 by default. More than likely, the package benchmarked was a Mozilla build.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    7. Re:I'm not sure about this by maglor_83 · · Score: 1

      No matter how bleeding edge Ubuntu may seem, it is very unlikely that Canonical would ship a Beta version or Release Candidate of Firefox

      8.04 shipped with Firefox 3 beta 5.

  8. maybe linux carries some of this blame by asa · · Score: 4, Insightful

    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.

    1. Re:maybe linux carries some of this blame by gilesjuk · · Score: 1, Interesting

      Indeed, GCC just isn't as good at producing fast code as Microsoft or Intels compilers. This is probably the price you pay for having a fairly portable compiler such as GCC.

    2. Re:maybe linux carries some of this blame by user317 · · Score: 1

      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.

      its an exponentially harder problem to do performance analysis at the compiler level then at the application level. Plus firefox + wine runs over 10% faster then firefox on linux, so very likely its not the tools. My guess its just because there are more windows hackers working on firefox since its a more important platform (to mozilla) then linux, so more optimizations are done.

      --
      me fail english? thats unpossible
    3. Re:maybe linux carries some of this blame by BikeHelmet · · Score: 1

      Usually they profile the windows versions, and don't profile the linux ones.

      Why? No clue.

    4. Re:maybe linux carries some of this blame by loufoque · · Score: 5, Informative

      This is a myth.
      I have barely ever noticed a performance increase when comparing code compiled with equivalent options on GCC, ICC and MSVC.

      Quite the contrary, GCC is faster more often than you'd think.

    5. Re:maybe linux carries some of this blame by Anonymous Coward · · Score: 0

      This is probably the price you pay for having a fairly portable compiler such as GCC.

      Fairly? Fairly? Is there any other C/C++ compiler in the world that compiles for so many target platforms? Even half as many?

      GCC has made leaps and bounds in the past few years on the 4.x series. But yeah, it's not nearly as good as Intel C++, which has the benefit of being able to focus on a relative handful of related x86/x86-64 architectures, and is made by the company that makes the CPUs.

    6. Re:maybe linux carries some of this blame by sjames · · Score: 1

      And for not surrendering your first-born in order to have as many copies of it as you like.

    7. Re:maybe linux carries some of this blame by RebelWebmaster · · Score: 2, Informative

      See bug 418866 for some guidance.

    8. Re:maybe linux carries some of this blame by YokoZar · · Score: 1

      Usually they profile the windows versions, and don't profile the linux ones.

      Why? No clue.

      Because GCC is throwing weird errors when we try to enable PGO building on Linux https://bugzilla.mozilla.org/show_bug.cgi?id=418866

    9. Re:maybe linux carries some of this blame by 0xABADC0DA · · Score: 1

      My guess is Mozilla uses /GL option for visual c++ to do whole program optimization (if not, they should). Afaik this is currently not possible in gcc for C++ code except by cat'ing or #including all your files together into one.

      In something huge like firefox there are probably a bunch of accessors and small functions that can be inlined to make a smaller *and* faster binary, if only the compiler can see the method implementation.

    10. Re:maybe linux carries some of this blame by multipartmixed · · Score: 2, Informative

      Why don't you compile Tracemonkey with MSVC, GCC, and ICC, then run the sunspider benchmark. Make sure you have PGO turned on for the MSVC build.

      Then you can go eat your hat.

      --

      Do daemons dream of electric sleep()?
    11. Re:maybe linux carries some of this blame by asa · · Score: 2, Interesting

      Got links? I'd love to see some support for this. Until I get those, I'm going to take the large number of anecdotal accounts from the people who actually compile popular apps like Firefox on Windows and Linux as having a bit more weight than your lone voice without any supporting evidence or even specif anecdotes.

    12. Re:maybe linux carries some of this blame by asa · · Score: 1

      Mozilla doesn't compile the Linux builds in widespread use. If you're wondering why Firefox wasn't compiled with profile guided optimizations, ask your Linux distros. They're ultimately responsible for it since they cut Mozilla out of the process years ago. Your vendor relationship for Firefox is with Ubuntu or Red Hat, not with Mozilla. That's what the Linux distros demand and so that's the way it's probably going to stay.

    13. Re:maybe linux carries some of this blame by bloodhawk · · Score: 2, Informative

      It is not a Myth, GCC is a good compiler, MSVC and ICC are fantastic compilers. This doesn't make GCC bad by any means, but it is gonna be a very rare occurance that GCC produces faster code, more work and effort has been spent on the other 2 to make them that much better.

    14. Re:maybe linux carries some of this blame by Anonymous Coward · · Score: 0

      This is a myth.
      I have barely ever noticed a performance increase when comparing code compiled with equivalent options on GCC, ICC and MSVC.

      Quite the contrary, GCC is faster more often than you'd think.

      Perhaps you should move on to Chapter 2 of your programming book, where applications do more than just push "Hello World!" to stdout

    15. Re:maybe linux carries some of this blame by dhavleak · · Score: 1

      Why is it important to use equivalent options?

      If, for argument's sake, MSVC has a feature that's missing from GCC and this feature results in 5% faster code for some app -- well, more power to MSVC.

    16. Re:maybe linux carries some of this blame by asa · · Score: 1

      And I believe it's the case today. Firefox on Windows can be compiled with PGO but the tools are busted on Linux so it can't be compiled with PGO there. That probably accounts for most of the performance difference. Fix the tools.

    17. Re:maybe linux carries some of this blame by bsmedberg · · Score: 5, Informative
      Mozilla does comparative performance testing for the best GCC compiler flags constantly. There are several reasons why our Linux builds are slower than Windows:
      1. The Windows ABI is cheaper: every relocated symbol in Linux is resolved at runtime by loading the PIC register and going a GOT lookup. Windows avoids PIC code by loading the code at a "known" address and relocating it at startup only if it conflicts with another DLL.
      2. Mozilla code runs fastest when 99% of it is compiled for space savings, not "speed". Because of the sheer amount of code involved in a web browser, most of the code will be "cold". Tests have shown that at least on x86, processor caches perform much better if we compile 99% of our code optimizing for codesize and not raw execution time: this is very different than most compiler benchmarks. The MSVC profile-guided optimization system allows us to optimize that important 1% at very high optimization levels; the GCC profile-guided optimization system only really works within the confines of a particular optimization level such as -Os or -O3. In many cases using PGO with Linux produced much *worse* code!
      3. The GCC register allocator sucks, at least on register-starved x86: we've examined many cases where GCC does loads and saves that are entirely unnecessary, thus causing slowdowns.

      Believe me, we'd really love to make Linux perform as well as Windows! We spent a lot of time in Firefox 3 with libxul reducing startup time by making symbols hidden and reducing the number of runtime relocations...

    18. Re:maybe linux carries some of this blame by BZ · · Score: 1

      > Why? No clue.

      Because gcc falls down and dies if you try to actually use its profile-guided optimization feature with Firefox. See https://bugzilla.mozilla.org/show_bug.cgi?id=418866

      I'd love to be able to enable this and get some profiles of things like sunspider and DOM-heavy pages with it, but I'm blocked on the gcc suckage. If you happen to know some gcc developers who could help here, that would be very nice.

    19. Re:maybe linux carries some of this blame by BZ · · Score: 1

      > its an exponentially harder problem to do performance analysis at the compiler level then
      > at the application level.

      While true, the fact remains that MSVC++ produces smaller and faster code than gcc on this particular set of code, even ignoring things like profile-guided optimization.

      But in any case, the 15% difference listed here is precisely what Sunspider on Windows picked up from profile-guided optimization.

      > Plus firefox + wine runs over 10% faster then firefox on linux, so very likely its not
      > the tools.

      firefox+wine is running a binary compiled with MSVC++, so it likely _is_ the tools. If you think otherwise, care to explain your reasoning? Because what you said looks like a false deduction to me.

      > My guess its just because there are more windows hackers working on firefox

      I can guarantee that there are more Linux hackers than Windows hackers working on Firefox. I can also guarantee that a lot of the profiling is done on Mac (because Shark is far and away better than anything else freely available out there). I can further guarantee that per-platform optimization only happens on the level of compiler flags, not on the level of code. Largely because most of the code is the same on all platforms, and not hand-tweaked for maximum performance (because there area bigger performance fish to fry).

    20. Re:maybe linux carries some of this blame by loufoque · · Score: 1

      The Windows ABI is cheaper: every relocated symbol in Linux is resolved at runtime by loading the PIC register and going a GOT lookup. Windows avoids PIC code by loading the code at a "known" address and relocating it at startup only if it conflicts with another DLL.

      If you find the shared object system slow, you could simply choose not to use it.

      Mozilla code runs fastest when 99% of it is compiled for space savings, not "speed". Because of the sheer amount of code involved in a web browser, most of the code will be "cold".

      I have never developed applications where codebases are huge enough that optimization ends up causing more cache misses than anything else, to put in perspective what I said earlier. PGO is however supposed to undo such optimizations.

      Interestingly, while Mozilla advocates compiling its javascript engine with -Os, Google compiles V8 with -O3 -fomit-frame-pointer (i.e. the usual recommended flags for performance for i386).

      The GCC register allocator sucks, at least on register-starved x86

      It seems to do better with -fomit-frame-pointer.

      We spent a lot of time in Firefox 3 with libxul reducing startup time by making symbols hidden and reducing the number of runtime relocations...

      You mean you spent a lot of time duplicating what the "prelink" program does?

    21. Re:maybe linux carries some of this blame by bsmedberg · · Score: 1

      We could not choose to not use shared objects without destroying the Firefox extensibility model.

      Sure, PGO is supposed to solve that problem. Measurements have shown that GCC's PGO does not actually work that well: it either turns on optimizations too aggressively, increasing codesize and slowing the program, or it doesn't turn on enough optimizations in the code that truly matters.

      Mozilla makefiles manually choose special optimization settings for certain files within the JS engine such as jsinterp.cpp (which is compiled with -O3). We're working on being able to support -fomit-frame-pointer but currently the crash reporting system would break if we did that, and at least for the Mozilla binaries crash reporting is more important.

      The prelink program does not affect code generation. Declared hidden symbols actually change code generation to avoid PIC loads and GOT lookups.

  9. Re:Proving yet again by asa · · Score: 2, Insightful

    Actually, it probably does say something about the superiority of the Windows compiler and potentially other Windows tools.

  10. It's not only Javascript by Anonymous Coward · · Score: 1, Interesting

    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.

    1. Re:It's not only Javascript by Anonymous Coward · · Score: 0

      Sounds like a Compiz issue. Try turning it off before running Firefox again and then see how long it stays up for.

  11. Harm of looking good: opportunity cost by jonaskoelker · · Score: 1

    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.

    1. Re:Harm of looking good: opportunity cost by valinor89 · · Score: 1

      Thet would make sense if FF was a comercial product with limited resources (money) but beeig opensource anyone can make contributions. What is someone has no idea of what to do to optimize FF but still can improve it's looks? There would be no harm at all.

  12. Where's the proof that GCC is solely to blame? by pembo13 · · Score: 2, Interesting

    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
    1. Re:Where's the proof that GCC is solely to blame? by characterZer0 · · Score: 5, Interesting

      Why can't they just use Intel's compiler?

      --
      Go green: turn off your refrigerator.
    2. Re:Where's the proof that GCC is solely to blame? by hattig · · Score: 2, Informative

      Compilers aren't a simple problem that you can 'throw devs at'.

      Maybe the Intel compiler could be used, but it breaks on anything non-trivial.

      Or we can suck up the 15% performance degradation, especially if it is due to profiled optimisations on Windows, and just be happy that it is twice as fast in terms of Javascript, that might make Slashdot usable on a netbook again. It's certainly going to be faster than IE8 on Windows, and that is what most Windows users will be using in the end.

      I only hope that Canonical make it available for 8.10, because we can't all upgrade to 9.04 because some companies (looks at VIA) take 6 months to get their drivers updated.

    3. Re:Where's the proof that GCC is solely to blame? by Peepsalot · · Score: 1

      Is there a reason that Mozilla should spend considerable resources making the Linux version of their product faster than the Windows version of their product? I don't really see how it's their problem.

    4. Re:Where's the proof that GCC is solely to blame? by Dr.+Spork · · Score: 1, Flamebait

      I also wondered this! For one thing, it would make Stallman's head explode, but we might as well get the sad and inevitable event behind us and all use the best compiler we can get for all Linux projects.

    5. Re:Where's the proof that GCC is solely to blame? by Anonymous Coward · · Score: 0

      Proof.. This is /. we don't need any stinking proof. It couldn't be the fact that prelinking doesn't work for dlopened libraries. Something that should have been fixed in ohh 2005 when the guy from novel brought it up and supplied the code. It also could not be a issue with video drivers being less optimized and full of hacks dreamed up by Troglodites.

    6. Re:Where's the proof that GCC is solely to blame? by loufoque · · Score: 1

      Maybe the Intel compiler could be used, but it breaks on anything non-trivial.

      No it doesn't.
      Also, Mozilla uses a subset of C++ that only contains trivial features. (not that it would be a problem, ICC uses the most standard conforming C++ frontend there is)

    7. Re:Where's the proof that GCC is solely to blame? by mR.bRiGhTsId3 · · Score: 3, Interesting

      Its my understanding that a bunch of the firefox core is written in C++. ICC uses a different name mangling scheme that GCC, so you can't link C++ code compiled with ICC with code compiled by GCC.

    8. Re:Where's the proof that GCC is solely to blame? by Freetardo+Jones · · Score: 4, Informative

      That stopped being true back in 2007 when they released version 10.0.

    9. Re:Where's the proof that GCC is solely to blame? by asa · · Score: 1

      Mozilla's expertise is in Web browsers and the Internet, not in code compilers. Your suggestion makes about as much sense as telling Mozilla it should be funding development of faster hard drives or better LCDs. They'd all improve the Firefox experience, but don't really make a lot of sense for a browser vendor to be doing. As for GCC being inferior to other compilers, I'd recommend you ask that team directly. I'm sure they'll give you an honest answer.

    10. Re:Where's the proof that GCC is solely to blame? by mR.bRiGhTsId3 · · Score: 2, Insightful

      Well, I guess the only reason to not compile with ICC is that "0h N0es! iNtel is t3h unfr33!" because every piece of literature I'v ever read suggests ICC produces slightly larger binaries which are greatly faster when compared to GCCs output. In fact, for this reason I seem to remember a whole bunch of guides from the olden days on Gentoo for how to install ICC.
      And thus, the lesson we have learned is that when you have the engineers who designed the architecture on hand, you can write a kickass compiler.

    11. Re:Where's the proof that GCC is solely to blame? by asa · · Score: 2, Interesting

      Why can't they just use Intel's compiler?

      Who is "they"?

      Builds created by Mozilla get used but very few people compared to builds made by Ubuntu and other Linux distros. Perhaps you should contact them and as them why they're not using the Intel compiler.

    12. Re:Where's the proof that GCC is solely to blame? by Anonymous Coward · · Score: 0

      Does it generate code that runs on AMD processors without treating them as 386s now?

    13. Re:Where's the proof that GCC is solely to blame? by Anonymous Coward · · Score: 0

      Or, you know, they can build with ICC instead.
      Of course, then the zeal^H^H^H^Hpurists would throw a hissy fit.

    14. Re:Where's the proof that GCC is solely to blame? by BZ · · Score: 1

      Last we tried it couldn't manage to compile the whole app (Firefox, that is). It's been a while since I checked on this, though.

      There's been some serious thought put into just compiling the JS engine with ICC as a first step, but using two different compilers for different parts of the build process is a bit of a hassle, of course.

  13. Re:makes sense by ianare · · Score: 3, Funny

    ... and anonymous users are dyslexic (tub onyl midly).

  14. Safari 4 faster... with GCC. by Anonymous Coward · · Score: 0

    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.

  15. Does gcc "do" Windows? by Anonymous Coward · · Score: 1, Insightful

    Can gcc compile Firefox for Windows, so that we can more confidently apportion blame?

    1. Re:Does gcc "do" Windows? by Mad+Merlin · · Score: 2, Informative

      Can gcc compile Firefox for Windows, so that we can more confidently apportion blame?

      Yes.

    2. Re:Does gcc "do" Windows? by BZ · · Score: 1

      Yes, and Windows builds compiled with GCC are much slower than the MSVC++ ones.

  16. 3.0.7 not great, 3.0.11 not good by Anonymous Coward · · Score: 0

    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.

  17. Intel compiler by Prune · · Score: 1

    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."
    1. Re:Intel compiler by Anonymous Coward · · Score: 0

      I was thinking about why that question hadn't been asked before.

    2. Re:Intel compiler by BZ · · Score: 1

      The Intel compiler can't actually (correctly) compile the code in question, last I checked. See https://bugzilla.mozilla.org/show_bug.cgi?id=386840 for an example. Also https://bugzilla.mozilla.org/show_bug.cgi?id=412829 and https://bugzilla.mozilla.org/show_bug.cgi?id=483283 and https://bugzilla.mozilla.org/show_bug.cgi?id=403224

      So people really are working on it; it's just not there yet.

  18. real world vs testbench by Werrismys · · Score: 1, Offtopic

    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
  19. What about other common cross platform software ? by godrik · · Score: 3, Insightful

    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.

  20. Re:Proving yet again by Anonymous Coward · · Score: 0

    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.

  21. On Linux 57% slower by r45d15 · · Score: 1

    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.

  22. A Good Test would be Slashdot by ackthpt · · Score: 1

    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
    1. Re:A Good Test would be Slashdot by rts008 · · Score: 3, Insightful

      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
    2. Re:A Good Test would be Slashdot by pohl · · Score: 1

      Yes, I'm certain that javascript is the problem. Slashdot has been unusable for me in mobile Safari on my 1st generation iPhone running version 2.0 of the software. The recent 3.0 upgrade made it usable, but still sluggish and with wierd random behaviour.

      --

      The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...

    3. Re:A Good Test would be Slashdot by vigilology · · Score: 1

      For me it was the div on the left hand side that contains some weird counts of posts that I never managed to figure out. It's only in the new dynamic comment system they're using (IIRC). I got rid of it by using a stylesheet just for Slashdot:

      #d2out {
              display: none;
      }

    4. Re:A Good Test would be Slashdot by IsoRashi · · Score: 1

      The layout has been bothering me too, but I had no idea we could revert to the our view. Thanks!

      --
      This is not the greatest sig in the world, no. This is just a tribute.
  23. ILLB by Anonymous Coward · · Score: 0

    Yet another case of, "I Love Linux But..."

    "Folks, I am not trolling..." he said. Very funny.

  24. Why not normal x86_64? by short · · Score: 1
    i686 is now for about 6 years a dead horse. GNU/Linux world keeps i686 ABI compatible, that means:
    • cdecl calling convention - the stack passed arguments - terribly slow, MS-Windows world is using their stdcall/fastcall mess which is faster but not compatible with former cdecl. x86_64 uses registers passed arguments by default.
    • PIC - position independent code. GNU/Linux requires all the shared libraries (=that is all the Firefox code) to be position independent which is very expensive on i686 and as it also costs even one register. Vs. MS-Windows relocate libraries at kernel so they do not use PIC. On x86_64 the new PC-relative addressing makes PIC the same cheap as normal code.
    • 64bit data for free - 32bit code had to handle all 64bit values expensively in two registers
    • Probably other x86_64 arch improvements I forgot about. (guaranteed SSE/SSE2/SSE3/others? I do not remember.)

    Other points making x86_64 the only choice at the same time making more favors to F/OSS / GNU/Linux:

    • address space - Applications today already face the 1GB/2GB limit of i686 32-bit addressing. x86_64 has no such limits in any way. There are no reasons to run F/OSS (GNU/Linux) code in 32-bit mode. Contrary to MS-Windows with everything distributed proprietary where no 64-bit alternatives commonly exist.
    • Compiler tools development concentrates on x86_64, as proprietary code has more financial investments in the past this advantage whould vanish with x86_64 as F/OSS code has enough financial backing nowadays.
  25. meet or exceed the expectations of our clients by Anonymous Coward · · Score: 0

    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.

  26. Re:Proving yet again by rbanffy · · Score: 1

    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.

  27. ...but does Adobe Flash still hang up? by flyingfsck · · Score: 1

    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!
    1. Re:...but does Adobe Flash still hang up? by asa · · Score: 3, Informative

      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?

  28. GCC, ICC, MSVC by JambisJubilee · · Score: 4, Informative

    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.

    1. Re:GCC, ICC, MSVC by PsychicX · · Score: 1

      I worked on a commercial PS3 title (none of that homebrew bull), where the GCC compiler is available as one of the options for the platform. It generates noticeably worse -- mainly longer -- code than is reasonable, and larger x86 code than Visual C++ generates. In turn, the larger code causes a lot of methods not to be inlined, and the cascaded effect (no doubt with caching issues etc thrown in) is notably slower. We're talking maybe 5-10% total here, but 5% because of a subpar compiler is pretty harsh.

    2. Re:GCC, ICC, MSVC by True+Grit · · Score: 1

      but I suggest that anyone who doubts this to download Intel's compiler (it's free as in beer) and try it out.

      ...unless you're running an AMD system, in which case don't bother, because ICC won't show your code nearly as much love as it would for a Genuine-Intel-Inside (or so I've heard)...

      At least you must admit that GCC is fair in its handling of its backends: it provides mediocre performance in equal doses. :)

  29. Smell the bull by Anonymous Coward · · Score: 0

    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!

    1. Re:Smell the bull by msclrhd · · Score: 1

      I want to run ray-traced Quake that is written in JavaScript on Firefox ;)!

  30. Apples vs Oranges by Anonymous Coward · · Score: 0

    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.

  31. Fix the urgent stuff first by multi+io · · Score: 1
    I have a Firefox 3.0.11 installation at home (Iceweasel 3.0.11 on Debian), and one at work (Firefox 3.0.11 on FC 9). The machines are comparable (2 GB RAM, Intel Core 2 proc in both). In the installation at work, scrolling down in a Slashdot article forum is about 100 times slower than in the home installation: if I press cursor-down once, it scrolls about 10 pixels down at a speed of 5 pixels per second -- I'm not exaggerating. Running under a different user account with a clean profile and no extensions makes no difference.

    Something is obviously completely out of control there.

    1. Re:Fix the urgent stuff first by Anonymous Coward · · Score: 0

      Graphic cards?

    2. Re:Fix the urgent stuff first by amorsen · · Score: 1

      Running under a different user account with a clean profile and no extensions makes no difference.

      I bet there is a setting for what cursor-down is supposed to do, which Fedora sets differently from Debian. Try a diff on about:config.

      --
      Finally! A year of moderation! Ready for 2019?
    3. Re:Fix the urgent stuff first by BZ · · Score: 1

      Assuming the problem is also there with mozilla.org builds, and not just the customized distro build, the next-most-likely issue is some interaction of Firefox, X, graphics driver, graphics card. Firefox 3 offloads a lot of rendering to the X server (instead of doing it itself in software like Firefox 2). Unfortunately, as often as not the X server does the rendering in software itself instead of actually using the graphics hardware. And the software it uses is older than what a client would typically use and somewhat more generic, so slower...

      So some cases of using the X server lead to a significant speedup over doing the rendering yourself; others to a significant slowdown. And which it is depends not on your code but on the user's hardware/X/driver configuration.

    4. Re:Fix the urgent stuff first by multi+io · · Score: 1

      Intel onboard on the FC system, NVidia (+ their blob driver) on the Debian one.

    5. Re:Fix the urgent stuff first by multi+io · · Score: 1

      The diff is 1500 lines, not sure where to look there. Scrolling with the mouse wheel or the scrollbar is equally unbearable (clicking a scrollbar button seems to trigger essentially the same behaviour as pressing cursor down).

    6. Re:Fix the urgent stuff first by multi+io · · Score: 1

      The strange thing is that this behaviour only happens on the Slashdot site. On other sites, the scrolling speed looks OK.

    7. Re:Fix the urgent stuff first by BZ · · Score: 1

      Scrolling behavior is very dependent on the details of the exact CSS used, the exact images used, etc... So it can vary very much by site.