Slashdot Mirror


Firefox 3 Performance Gets a Boost

jason writes "Mozilla has been working hard at making Firefox 3 faster than its predecessor, and it looks like they might be succeeding. They've recently added some significant JavaScript performance improvements that beat out all of the competition, including Opera 9.5 Beta. And it comes out to be about ten times faster than Internet Explorer 7! Things are really starting to fall into place for Firefox 3 Beta 4 which should be available in the next week or two."

129 of 550 comments (clear)

  1. Safari by adam1234 · · Score: 4, Informative

    Hopefully it can best Safari's Javascript performance. Firefox is pitifully slow compared to WebCore's javascript core.

    1. Re:Safari by CRCulver · · Score: 4, Funny

      Surf with NoScript and the JavaScript engine will be invoked much less than usual.

    2. Re:Safari by prestomation · · Score: 5, Informative

      According to TFA, Safari is beat out by Firefox 3 beta 3 and 4, and Opera.

    3. Re:Safari by A+beautiful+mind · · Score: 5, Informative
      RTFA (or just glance below):

      1. Firefox 3 Nightly (PGO Optimized): 7263.8ms
      2. Firefox 3 Nightly (02/25/2008 build): 8219.4ms
      3. Opera 9.5.9807 Beta: 10824.0ms
      4. Firefox 3 Beta 3: 16080.6ms
      5. Safari 3.0.4 Beta: 18012.6ms
      6. Firefox 2.0.0.12: 29376.4ms
      7. Internet Explorer 7: 72375.0ms
      The results are generated by using the Sunspider JS benchmark suite.
      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    4. Re:Safari by Anonymous Coward · · Score: 3, Informative

      Did the check against the WebKit SVN HEAD, though? There have been significant improvements which aren't in Safari yet.

    5. Re:Safari by GenKreton · · Score: 4, Interesting

      These benchmarks are definitely lal done on a windows box, because if you compare the performance of JS in Firefox on Linux and Windows it is like night and day... I don't know why JS on Linux needs to be so much worse.

    6. Re:Safari by dgatwood · · Score: 5, Interesting

      How about testing with a WebKit nightly?

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    7. Re:Safari by A+beautiful+mind · · Score: 4, Interesting

      I don't get it. They are doing exactly what I wanted about Firefox in 3.x.

      While new features can be nice, I couldn't name a feasible feature that a significant number of people would want and it's not in core Firefox or in an extension already. What I want from Firefox now is to provide the existing features in a secure, stable, fast and memory conserving way, in this order. Heck, I've turned off most of the new features in Firefox 2.x and wished they'd fix some annoying bugs instead. In 3.x the developers did a lot of work to remedy a lot of those bugs and issues, so big big kudos for them!

      Cleaner code matters - it results in less bugs and security vulnerabilities, easier to add features and most likely better code.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    8. Re:Safari by CajunArson · · Score: 5, Insightful

      Yeah great, was anyone complaining about the speed? Actually many people (myself included) were complaining about speed, and in some cases new "features" are just bloat. One feature that I would LOVE to see is to have isolation between tabs so that if one page in one tab causes a crash, the other tabs would be unaffected and the browser could continue. A multi-process model with better isolation could do this, and would also make more efficient use of multi-core systems (since FF is notoriously single-threaded, have a single thread per-tab instead of per-browser). FF does crash, and while sometimes a third party plugin is to blame, I really don't care about pointing fingers just in getting the browser more reliable.
      --
      AntiFA: An abbreviation for Anti First Amendment.
    9. Re:Safari by Anonymous Coward · · Score: 5, Interesting

      The Webkit nightly builds are significantly faster. I don't have the same machine they've tested on obviously, but for comparison purposes here's the current release vs. the most recent nightly build on my Mac OS X 10.5.2 machine:

      Safari 3.0.4: 10758.4ms +/- 0.5%
      WebKi r30628: 3390.0ms +/- 0.3%

      If the performance gain percentage is comparable on their test machine (big if, granted) the comparable time would be 5675.8 ms, 22% faster than the PGO Firefox build.

    10. Re:Safari by 99BottlesOfBeerInMyF · · Score: 4, Informative

      They should have run it against the latest webkit.. it's supposed to be pretty fast..

      Okay, I ran it on OS X anyway. I'm too lazy to run it on Windows too :) Here are the results. The new version of Webkit/Safari does beat the nightly of Firefox, but it is close and they're both a lot better than any regular release.

    11. Re:Safari by Rosy+At+Random · · Score: 2, Funny

      'Opera'

      --
      Would you like a slice of toast?
    12. Re:Safari by snl2587 · · Score: 2, Insightful
      1. None used, and
      2. only one tab open.

      It's been my experience that the extensions and multiple open tabs cause bloat, not Firefox itself.

    13. Re:Safari by Mr.+Spontaneous · · Score: 5, Informative

      They've been throwing around the idea of multithreading for Firefox 4, but right now its still in contention, I think, because it has to be done right. I recall reading some dev blogs that said they'd jump ship if the team decided to expose the threads to extension developers.

      --
      Its all fun and games until someone loses an eye... then its just fun.
    14. Re:Safari by 0xygen · · Score: 5, Funny

      But with NoScript it's not so much surfing as paddling through the mud!

    15. Re:Safari by 0xygen · · Score: 3, Informative

      If you try the beta, you will actually notice a significant reduction in the memory used over previous versions.

      However, as one of the other replies mentions, it is partly down to the caching, which has now been adjusted.
      If you are in the "I would rather have a slow browser with no cache" crowd, you can actually tune the cache down in the prefs.

    16. Re:Safari by steelfood · · Score: 4, Insightful

      Threads add a whole new dimension of complexity to the engine. The "right" way to do it may not even exist.

      Extensions definitely should not have direct access to the threads. It would be an absolutely terrible idea. In fact, extensions shouldn't even know that there's multithreading going on behind the scenes. At best, extensions would be able to indirectly spawn threads and manipulate the spawned threads in a roundabout manner through that context using a thread-safe API.

      --
      "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
    17. Re:Safari by AaronW · · Score: 4, Insightful

      Just because I have a couple gigs of memory doesn't mean I want Firefox to consume it all. I run more than just a web browser. I don't want a lot of caching anyway, since most pages I hit are dynamic and I don't use back very frequently. I don't want a program to look and see I have a couple gigs of memory and assume it can use it all.

      -Aaron

      --
      This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
    18. Re:Safari by StopKoolaidPoliticsT · · Score: 2, Informative

      USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
      skp 12912 7.9 32.6 1230252 670932 tty1 Sl Feb24 358:38 /usr/lib64/mozilla-firefox/firefox-bin
      Yeah, no way that it can use more than a hundred megs or so. 4 tabs open with mostly text. Adblock, Bookmarks Sync and Sort and Flashblock installed.
      --
      Stop Koolaid Politics
    19. Re:Safari by RiotingPacifist · · Score: 2, Insightful

      I wouldn't say that, we have Opera,konqueror,galleon,Epiphany,links,etc...IE, if anything we have the most competition.

      I do agree that firefox sucks on linux tho, although i have to give FF3 some credit for improving this.

      --
      IranAir Flight 655 never forget!
    20. Re:Safari by utopianfiat · · Score: 4, Funny

      lynx = floaties and a shark-filled lagoon?

      --
      +5, Truth
    21. Re:Safari by bunratty · · Score: 2, Interesting

      I said for caching. Not all of Firefox's memory use is used for caching. I never said that Firefox will not use more than a hundred megs or so of total memory use. Sheesh!

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    22. Re:Safari by billcopc · · Score: 2, Interesting

      Yes and no.

      Sure, I have tons of memory and I'm not overly concerned if FF eats up 250mb... On the other hand, my office PC has only 1 gig of Ram and I'd very much like for FF to stay under 50mb, so that my other, more lucrative apps don't spend their time thrashing the swap file.

      The caching done in Firefox is a great feature and works well, but it needs to be more mindful of other running processes. A cache should never take memory away from an active process. If Photoshop wants 100mb and FF's cache is using 100mb, I would expect FF to yield its memory rather than forcing swap usage.

      --
      -Billco, Fnarg.com
    23. Re:Safari by muuh-gnu · · Score: 2, Insightful

      So get another job, since your current one was made obsolete. Times change. Nobody needs your services any more.

      > Just sayin'

      Sayin' what? That we should make the world worse for anyone else by prohibiting technology use, so you can keep profiting from people depending on your obsolete manual job?

    24. Re:Safari by insertwackynamehere · · Score: 3, Funny

      nah you make two and there goes your market

    25. Re:Safari by billcopc · · Score: 5, Informative

      Are you sure it's actually swapping to disk, or is it merely reserving swap space in the map ?

      Example: I have 8 gb in this system. Right now I only have FF and Thunderbird running (+ a few background processes). Current "commit charge" is 475mb, of which Firefox is using 150mb. The system says I'm using 280mb of swap, but it's not actually thrashing the swap disk at all. That swap space is reserved, presumably because it represents 280mb of idle memory that is eligible to swap out, should another process need it.

      Windows allocates virtual memory quite aggressively (when properly coded). If a process requests 500mb, but only really uses 100mb of it, the remaining 400mb will be "allocated" to swap while the real memory remains available to other processes. The moment a memory page is accessed, it is marked "dirty" and moved to real memory.

      It's very much like sparse files, where unused or 0-filled pages don't take up any physical space (except for the map entry). That's how virtual memory is supposed to work, and it lets developers simplify their code by not having to worry too much about the physical arrangement of memory. It's also partly why you should never run a system without a swap file, even if it has tons of memory. I've probably never used all 8 gb in my system, but I still keep a (small) swap file. If I didn't, and that process allocates 500mb, Windows needs to dedicate 500mb whether or not it is actually in use. It reminds me of real-estate players, who can "buy" million-dollar buildings with a relatively small amount of capital, the rest on credit. Swap is like a line of credit for the OS.

      Linux probably does the same thing, but I'm not as knowledgeable about its inner workings.

      --
      -Billco, Fnarg.com
    26. Re:Safari by Tack · · Score: 3, Insightful

      Security isn't really a concern, that's what I run AV and a software firewall, ...

      There are plenty of attacks (such as CSRF or XSS) for which your AV software and a firewall are useless against. You say security isn't a concern now, until you fall victim to one of these attacks that can only be thwarted by proper security in the browser.

    27. Re:Safari by myrmidon666 · · Score: 3, Informative

      Noscript slows down your browser a bit. This is especially true if you have "trusted" sites with a lot of scripts.I have definitely noticed a decrease in performance since I added Noscript.

      --
      *Process is Irrelevant, Progress is Paramount*
    28. Re:Safari by FrankieBaby1986 · · Score: 2, Interesting

      Except Those who generate power... presumably replicators turn energy into matter, so, energy will be in demand, as will energy storage technology, energy transport, maintenance of those systems, etc

      --
      ERROR: SIG NOT FOUND (A)bort, (R)etry, (F)ail?:
    29. Re:Safari by squidinkcalligraphy · · Score: 4, Informative

      As has been often discussed, Linux's reporting of memory usage is inaccurate. Firefox uses threads; in Linux each thread is treated as a process, and appears as such to programs like top, appearing to use it's own memory allocation plus the shared memory common to all firefox threads. So it _looks_ (approximately) like the memory being used all up is (thread's mem + shared mem) * Number of threads, where in fact it is thread's mem * number of threads + shared mem.

      --
      "I think it would be a good idea" Gandhi, on Western Civilisation
    30. Re:Safari by pixelpusher220 · · Score: 3, Insightful

      No one will create "recordings" for sale anymore since they can be duplicated ad nauseum for squat.

      There will still be a thriving market for LIVE music and plays and such things. Notice how the music industry never managed to die like it has always said it would? Started with the printing press, which is little different than me ripping a song off a CD, and now with the digitization of music and the internet. Both produced a cheap, easily duplicated copy without any harm to the original.

      The only argument I can't make is for movies. They don't translate well into 'live'.

      But music will simply go back to it's origins in live performances. The Grateful Dead were decades ahead of their time. Allowed free and ubiquitous copying of their performances and still made a bundle o cash.


      --
      People in cars cause accidents....accidents in cars cause people :-D
    31. Re:Safari by pryoplasm · · Score: 2, Insightful

      Bah!

      Those who are against replicators are just like those who sold buggy whips in the early days of automobiles, or those silly fools who took on pirates with their "intellectual property"...

      --
      Those who live by the sword, get shot by those who live by the gun...
    32. Re:Safari by Cybah · · Score: 2, Insightful

      By the way, I agree that overall the whole memory issue is overblown, RAM exists to be used and doesn't help you if its unused.

      However, I think the problem is that the Firefox memory footprint usually remains around its peak once reached, even when all but the final tab has been closed. I imagine this is due to heap fragmentation and if so, a lot of memory is wasted. Whatever the reason, it prevents the memory from being used by other applications until Firefox is closed.

      Allocated RAM is no use if it's not being *used*.
    33. Re:Safari by Sam+Douglas · · Score: 3, Informative

      That is not correct, maybe you are thinking of Thread Local Storage. All threads share the same address space and memory allocations (memory management techniques used inside the application aside). Perhaps this page (found with a quick Google search) should clear up the confusion: http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html

      It is more a matter that tools such as ps report the VSZ (Virtual Set size) and RSS (Resident Set Size) -- basically this is the amount of memory mapped in the virtual address space, and the size of the physical memory pages currently assigned to the process (this can grow or shrink with the operating system's page replacement -- moving pages into swap).

      The memory in the virtual address space is not necessarily 'memory' that was allocated by the program for storage: memory-mapped file access, shared libraries and shared memory all counts into this address space, and this memory is managed by the operating system kernel or application. For mmap files, you can access a file like an array in memory and the operating system will deal with loading and saving the appropriate pages of data.

    34. Re:Safari by Sam+Douglas · · Score: 3, Interesting

      http://blog.pavlov.net/2007/11/10/memory-fragmentation/ provides information about this issue. Supposedly a lot of the memory eating issues people bitch about are caused by heap fragmentation -- memory pages that get allocated to Firefox, then some of the data freed, but not all of the page.

    35. Re:Safari by dwater · · Score: 4, Funny

      ...I suspect our brain tries to do shortcuts... What? Are we 'the borg' now? ...or some kind of massive Siamese poly-tuplet.
      --
      Max.
    36. Re:Safari by Anonymous Coward · · Score: 5, Insightful

      Would it be fair to say the following actually occured to obtain these javascript performance improvements:

      1. instrumented firefox (PGO technology)
      2. ran the stinking benchmark with the instrumented code
      3. used the feedback from the benchmark to automatically compile an optimized version of firefox optimized specifically for the benchmark.

      4. Publish results of said benchmark for all to oooh and awwww over.

      Isn't this as pathetic and useless as vendors manually tweaking their 3D drivers to artifically raise performance figures displayed in 3dmark? Did I totally misread TFA?

    37. Re:Safari by Idiomatick · · Score: 5, Insightful

      I know, it really sucks that people don't write books anymore since the printing press came out. The whole industry collapsed, you probably haven't even heard of these jobs:

      * Copyists, who dealt with basic production and correspondence
      * Calligraphers, who dealt in fine book production
      * Correctors, who collated and compared a finished book with the manuscript from which it had been produced
      * Rubricators, who painted in the red letters
      * Illuminators, who painted illustrations

      Ohhhh wait, people still write books and the industry didn't collapse. It just changed. I'm sure in 50years we'll be saying 'wtf was a publisher again?'. And nothing of value will be lost. Artists have the HUGE opportunity of being able to cut out the middle men (there are lots of them) with current technology. With less hands in their pockets they will make big money from live shows and bigger profit from merchandise as well as profits from ad supported downloads and site page views. Artists will NOT starve, i don't see how cutting away the massive corporations which artists are carrying on their back atm will hurt the artists.

    38. Re:Safari by TheNetAvenger · · Score: 5, Informative

      (or just glance below):

      1. Firefox 3 Nightly (PGO Optimized): 7263.8ms
      2. Firefox 3 Nightly (02/25/2008 build): 8219.4ms
      3. Opera 9.5.9807 Beta: 10824.0ms
      4. Firefox 3 Beta 3: 16080.6ms
      5. Safari 3.0.4 Beta: 18012.6ms
      6. Firefox 2.0.0.12: 29376.4ms
      7. Internet Explorer 7: 72375.0ms
      The results are generated by using the Sunspider JS benchmark suite.


      This looks great, but everyone should notice a couple of things that may not be obvious.

      1) Sunspider JS benchmark is designed by Apple developers and they use it to show the world how much faster Safari is, however Opera seems to outpace the Safari developers even with their own tests. However, yes some of the benchmarks used are 'picked' to favor Safari, and some are 'extended' to hurt IE.

      2) Sunspider over does the tests of the Append String performance problem to make IE look worse than it really is. IE's JScript is coded as JScript was designed, and because of this, it doesn't optimize string append operations by using newer code. So by using this text extra, it artificially make IE look horribly slow. IE8 and possible additional IE7 releases are spending time optimizing the base JSCript code from the original implementations/specifications.

      http://blogs.msdn.com/jscript/archive/2007/10/17/performance-issues-with-string-concatenation-in-jscript.aspx

      3) If you remove the 'string' routine from the test, IE7, consistently outperforms Firefox 2.0, and is very close to even Safari for with the results were cherry picked.

      http://www.codinghorror.com/blog/archives/001023.html

      4) Some of the numbers are quite questionable as to the validity. For example IE7 is given 72375 in this article, and yet the slowest machine our tech lab has ever benchmarked is 2x the speed, and this is on a very old AMD 1ghz machine that barely runs Vista in which the test yeilded the horrible results. So where did they get the 72375 number from? A Pentium 200?

      Again reference this link so see that even this person's results are no where near the 75K ms time reported for IE.

      http://www.codinghorror.com/blog/archives/001023.html

      So it is quite questionable and inaccurate to try to portray IE7 as 10x slower, when without the 'emphasized' string append slowdown in IE7, it is faster than FireFox 2.0 and within a few 'ms' of even Safari and the new FireFox 3.0 results.

      Good job to the FireFox team, btw.. Also does anyone have benchmarks of the new FireFox using a non-Apple test suite?

    39. Re:Safari by BZ · · Score: 3, Informative

      A large part of this is that MSVC++ generates better assembly than g++ in a lot of cases.

    40. Re:Safari by catxk · · Score: 2, Funny

      But the industry! Won't somebody please think of the industry!

      --
      Don't be crazy anymore!
    41. Re:Safari by rastos1 · · Score: 2, Insightful

      Security isn't really a concern, that's what I run AV and a software firewall
      That sounds like saying: no problem I have a hole in the hull, when the pumps are plenty sufficient to get the water out of my boat.
    42. Re:Safari by jcupitt65 · · Score: 2, Informative
      in Linux each thread is treated as a process, and appears as such to programs like top

      That changed with the new threading system in 2.6. A threaded process appears as a single entry in top.

      http://en.wikipedia.org/wiki/Native_POSIX_Thread_Library

    43. Re:Safari by luserSPAZ · · Score: 5, Interesting

      No, we're just profiling on browser startup/shutdown right now. I did do a build profiled on the benchmark, and it was pretty fast, but that's probably overkill. Mostly we just want to hit enough common code paths to make things faster. Turns out sunspider perf correlates pretty nicely to overall JS speed, since the benchmark is made up of real world code that people complained was slow.

  2. IE7 is just slow anyway by jtroutman · · Score: 3, Informative

    One of the ways I usually demonstrate to people the advantage of Firefox 2 over IE7 is to show them the difference in time it takes to open multiple tabs. With Firefox, they open as fast as I can hit CTRL-T, but with IE it takes about a second for each one.

    --
    I stole this sig from a more creative user.
    1. Re:IE7 is just slow anyway by ivarneli · · Score: 4, Interesting

      I tend to have the opposite experience. When I need to use it, IE7 is quite fast and responsive for me, and it will certainly open tabs as quickly as I can hit Ctrl-T. On the other hand, Firefox (on any computer I've used) occasionally has a bit of a delay when opening new tabs, especially if other pages are rendering in the background, you have a few complex sites (like gmail) open, or you have more than 3-4 tabs open.

      There are a bunch of great reasons to use Firefox - adblock, keyword bookmarks, decent standards support, Firebug, etc. But in my experience (especially post-1.5), the responsiveness of the UI is not one of those reasons.

    2. Re:IE7 is just slow anyway by jrumney · · Score: 2, Interesting

      I just tried it now. On Firefox (2), I opened about 10 tabs, and they opened almost as fast as I could hit Ctrl-T. On IE7, the first 3 tabs opened immediately, after that there was a few seconds delay for every tab.

    3. Re:IE7 is just slow anyway by A+beautiful+mind · · Score: 4, Funny

      3* tabs should be enough for everybody.

      *For older versions of IE, 3 equals 1.

      --
      It takes a man to suffer ignorance and smile
      Be yourself no matter what they say
    4. Re:IE7 is just slow anyway by remmelt · · Score: 2, Insightful

      In IE7 I really don't see the importance of the about:tabs or about:blank homepage. It's not unsettable as far as I can tell, the text is always there. Sure, it's selected, but sometimes I click in the address bar and have to remove the text. A nitpick, surely, but annoying. Start with a blank screen and a blank address bar. What can be so hard?

  3. I tried Firefox 3 today by celardore · · Score: 5, Informative

    To be honest, I hate it. WTF have they done with my handy URL bar? It used to be a place where I could type "slas" and get the slashdot URL come up. Even worse for "news", as it "handily suggests" all the pages in my history that have "slas" or "news" in my history.

    Heads up for all those trying Firefox 3 is Oldbar. I suggest you get it if you don't like the new 'innovations' by Mozilla Corp.

    1. Re:I tried Firefox 3 today by christopherfinke · · Score: 5, Informative

      It learns as you use it. Type 'slas' and choose Slashdot from the list. After doing that once or twice, Slashdot should automatically float to the top each time after that.

    2. Re:I tried Firefox 3 today by Anonymous Coward · · Score: 5, Interesting

      Funny, I have been using it for a couple months now (nightlies) and I absolutely love the awesomebar. Just typing "s" gets me slashdot. the various environments I work with can be gotten with "l" (localhost), "d" (the development server), "bug" "sprint" "-1h" "me" (our bug tracker), "qa" (our qa environment), etc.

      Best of all, if I visit any site and then want to get back to that site again sometime, all I need to remember is something in the title or url of the page I was at.

    3. Re:I tried Firefox 3 today by caspy7 · · Score: 5, Informative

      You've only tried it for one day and you hate it?
      I think I understand.
      You see, the new location bar learns. Though this silly new 'innovation' does indeed search through the URLs *and* titles of bookmarks and history, it also learns what you select the most. Give it a few more days and slashdot should come to the top of the list.
      I experienced the same thing in the beginning.

      When I bookmark page now I try to throw on a couple common sense tags that way when I type the tag in the location bar in the future, those bookmarks come out on top.

      If you're *really* dead set on the shortest route:
      1) Click Bookmarks -> Show All Bookmarks
      2) Find the slashdot bookmark and select it
      4) Click "More" under properties
      5) Make the keyword /.
      6) Close the window

      Now type /. in the location bar and vwala!

    4. Re:I tried Firefox 3 today by arth1 · · Score: 4, Insightful

      Sorry, copying the bad eyecandy from Microsoft doesn't classify as an improvement in my opinion.

      The learn-as-you-go menu behaviour which they copied from Windows didn't work well in Windows either. The main problem is that it causes inconsistent behaviour. Repeating something doesn't necessarily give you the same menu items. It's good for newbies who read every single line before choosing one of them, but it's very bad for people who memorize what they do so they can repeat it quickly without even looking.

    5. Re:I tried Firefox 3 today by xouumalperxe · · Score: 3, Informative

      vwala! LMAO. You are a worthless, pathetic piece of shit.

      Next time, try it like this: "LMAO. You are a worthless, pathetic piece of shit. The word you're looking for is voilà, literally 'see there' in French, an idiom used to mean 'there you go'". (though the OP's spelling is pretty damn close to the correct phonetical spelling \vwä-'lä\)

    6. Re:I tried Firefox 3 today by ucblockhead · · Score: 4, Insightful

      Gah! I don't want software that fucking "learns"! I don't want software that tries to think for me. I want software that just fucking works in the first place!

      It's the KISS principle. I'd rather have stupid software that works in a clear manner than all this crap that tries to figure out what I maybe might be wanting.

      --
      The cake is a pie
    7. Re:I tried Firefox 3 today by Threni · · Score: 2, Interesting

      Is there going to be a volume control for Firefox 3, or are we still going to have to pretend that it's not the browser that's producing the audio output?

    8. Re:I tried Firefox 3 today by TheSkyIsPurple · · Score: 5, Insightful

      >I don't want software that tries to think for me.

      In which case you don't want the browser to autocomplete the URL for you at all, and the fact that it finds seemingly irrelevant matches shouldn't matter.

    9. Re:I tried Firefox 3 today by Fallingcow · · Score: 2, Informative

      It also seems slower to me (then again, so does the whole damned browser), and that was one of my biggest complaints about FF2: it took a *tiny* bit too long for those to pop up, so that if I hit "slash(DOWN)(ENTER)" too quickly, I'd end up browsing to the word "slash" rather than "slashdot.org". Throwing more processing power at the problem doesn't seem to fix it (if a dual-core 2.2Ghz won't fix a little problem like this, nothing will).

      I've also got huge problems with image rendering (images that I browsed several pages ago showing up as a tiled background on the page I'm browsing now? WTF?), and Gmail is very, very broken (I can't send e-mail from it). I'm on Beta 3 in Ubuntu. Those are all bugs, though; the address bar thing seems to be a "feature", and I fear that the general UI unresponsiveness isn't going anywhere, either. Just give me back the address bar that used to be there, and make the suggestions pop up instantly. That's what I want, not slower with more "features" that I've never, ever wanted, and, after trying it out, still don't want.

    10. Re:I tried Firefox 3 today by noidentity · · Score: 2, Insightful

      Exactly. Dumb, predictable software can be used as a tool, since it does what one tells it and nothing more. "Smart" software is unpredictable, so rather than telling it what to do and moving on, one has to tell it something, then wait to see what it did. Only when software is as smart as a human (or more) will it be as useful as dumb, predictable software.

    11. Re:I tried Firefox 3 today by balster+neb · · Score: 4, Insightful

      I agree with you totally. I've been toying around with the Firefox 3 Betas for a couple of weeks and I think the awesomebar is the best new feature. It's not broken -- it's different. Once you get used to it, finding pages you frequently visit becomes much easier.

      Say you visited the Wikipedia page on the Tunguska event a couple of weeks. If you want to revisit the page, all you do is start typing the first few letters of "Tunguska" and the page comes to the top of the list. With the old type of address bar, you'll have to type the whole Wikipedia URL or search your browser history separately. This speedup is well worth the relatively shallow learning curve.

      I find it pretty stupid to compare this feature with Windows' "adaptive menu" feature. There's only a superficial resemblance. Remember, the traditional address bar still "learns" in the way you hate by ordering URLs by the frequency with which you visit them. What is it with the Slashdot crowd and being insanely conservative about their software?

    12. Re:I tried Firefox 3 today by kestasjk · · Score: 2, Insightful

      The old behavior is always better, until you start to use the new behavior.

      When FF2 came out I didn't like the close buttons on the tabs, or the way that they were curved and didn't fit in with Windows' tabs, I didn't like the bland new icons, and it all seemed like a bunch of hype.

      Of course now I like FF2, I like how the icons are less colorful and draw less attention, and FF3 seems like the scary new release threatening to ruin something that was perfectly good before.

      Same goes for new releases of any software, from OSes to games.

      --
      // MD_Update(&m,buf,j);
    13. Re:I tried Firefox 3 today by BKX · · Score: 2, Informative

      What you really want is Opera. Built-in RSS for most sites (like slash and whatnot), and the speed dial for everything else. Throw in a few customized quicksearchers (like for wikipedia and tpb), and I don't think I've typed an address in manually in like a month.

    14. Re:I tried Firefox 3 today by Blkdeath · · Score: 3, Insightful

      Gah! I don't want software that fucking "learns"! I don't want software that tries to think for me. I want software that just fucking works in the first place!

      It does. Your "just fucking works" is slightly different from my "just fucking works", so it learns how we each work and adapts accordingly. It not only learns your habits in entering URLs in the address bar, but it also learns from your browsing history and bookmark use. When I type "sl" lo and behold, Slashdot is the first entry. When I type "gl" the first entry is for my Globe And Mail portfolio listing, when I type "bm" my online banking page comes up #1. Now, if I wanted to view other pages that I select often I can scroll further down, but in general all I need is two letters, down, enter and I'm at the page I want based on my own browsing habits. Now, your online banking might start with "sc" or "ba" or any other combination so you wouldn't want "bm" associated with that. Maybe "bm" links to your social networking site or something else you want. Why bother with one-size-fits-all when you can have custom tailored for the same price?

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    15. Re:I tried Firefox 3 today by upside · · Score: 5, Funny

      You don't realize "vwala" is the de-frenchified, freedom-loving, non-retreating version of the word from the Freedom Fries crowd. It means "Behold, believe and profess. Else you will be classified an enemy combatant".

      Expect to find it in a GWB-approved dictionary any day now.

      --
      I'm sorry if I haven't offended anyone
    16. Re:I tried Firefox 3 today by ucblockhead · · Score: 2, Insightful

      No...I want autocomplete. What I don't want is autocomplete based on arcane and mysterious rules that I do not understand. I want autocomplete based on simple and clearcut rules, like "suggest the most recently used URL that matches". In my experience, software that tries to "learn" is harder to use because you end up trying to figure out how to get the damn thing to "learn" what you want it to learn.

      --
      The cake is a pie
  4. Safari is getting up there by The+Ancients · · Score: 4, Informative

    The Safari team recently introduced some native javascript functions, which showed very impressive speed. It looks like the next release Safari will be up there as well (if not even faster still).

    I'm off to download the latest Firefox to see how the two compare (on both Windows and OS X platforms).

    1. Re:Safari is getting up there by jesser · · Score: 2, Interesting

      Firefox nightlies also have native getElementsByClassName, fwiw. I don't know how many sites currently use native implementations when available, but after Firefox 3 and Safari 3.1 ship, I bet lots of sites will.

      --
      The shareholder is always right.
  5. Firefox 3 also supports new Java plug-in by kaos07 · · Score: 4, Informative
    From the Mozilla blog:

    Firefox 3 is going to include support for the new Java SE 6 runtime environment.

    This is a new implementation of the Java Plug-In that features increased reliability, ability to specify large heap sizes, ability to select a specific JRE version to execute a particular applet, and support for signed applets on Windows Vista.

    The New Plug-in is designed to work with: - Internet Explorer 6 and 7 on Windows XP and Windows Vista - Firefox 3 on Windows XP, Windows Vista, Solaris and Linux

    Personally, I've been wanting to use the Firefox 3 beta for some time, primarily because of the performance and speed boosts over Firefox 2, but my favourite add-ons still aren't compatible.

    Note: The new Plug-in does not work with Firefox 2, and no support is planned for this browser with the New Plug-in.

    http://gemal.dk/blog/2008/02/24/firefox_3_gets_a_new_java_plugin/?from=rss-category/
  6. Re:It still doesn't run on my computer by ajayrockrock · · Score: 3, Informative

    It still doesn't run on my computer and Firefox 2.latest_stable_release works fine. What's up with that? It just crashes immedietly upon opening.


    Back up your Firefox Profile and start clean.
  7. Builds for Windows and Linux available by The+Ancients · · Score: 4, Informative
  8. CPU optimized? by DigiShaman · · Score: 2

    Silly question perhaps, but is optimized to use SSE, SSE2, SSE3, or any other instruction sets?

    --
    Life is not for the lazy.
    1. Re:CPU optimized? by Pearlswine · · Score: 3, Informative

      Short answer, maybe Long answer: If FF3 isn't using a processor specific optimization, you can always Download your own build, I like pigfoot's (scroll down) build for windows.

  9. Re:Firefox Performance by CRCulver · · Score: 4, Insightful

    While proposed jokingly before, why not use something like PDF or flash for a fully graphical web?

    Flash has more and more accessibility support, but PDF is the Page Description Format. It's meant for print output and says nothing about the meaning of the contents of the document, just how they are supposed to look on the screen and on the page.

    I think that is something that could be worked on, by providing an open standard for the files that can be parsed easier than html.

    The good thing about tag-based formats like HTML is that--provided someone's following the standard--they can be fairly easily parsed regardless of the output format. With XHTML, you can read stuff on your screen, the blind can use screen readers, and web developers can easily extract and transform elements from a given document things are good as they are.

    Finally, why do you think PDF = lean and mean? Acrobat proves that a PDF reader can get hideously bloated.

  10. How about Safari 3.1 by tknn · · Score: 2, Insightful

    Safari 3.1 is supposed to be really fast as well. How do they stack up?

  11. Re:Firefox Performance by ashridah · · Score: 2, Informative

    note that this is a javascript test, not a html test, but the main problem is, you need to break the problem down into many components, including, but not limited to:

    a) efficient networking
    b) lexical analysis
    d) parsing.
    e) DOM tree construction (required because it's available to javascript)
    f) javascript lexical analysis
    g) javascript grammar parsing
    h) javascript compilation to bytecode
    j) javascript execution by vm (including subtasks: initialization, execution, security checks, etc)
    k) rendering output

    It's probably even more complex than above, but it's a long process to go from <html><body><p>hi!</p></body></html> to a page that has "hi!" on it. Longer if it needs to execute javascript safely as well.

  12. Re:Memory leak? by bersl2 · · Score: 3, Funny

    It wasn't so much a memory leak issue as it was memory fragmentation.

  13. Re:JavaScript, huh. by jesser · · Score: 4, Insightful

    The benchmark used in this article is a JavaScript benchmark, but PGO was enabled for most components of Firefox, not just the JavaScript engine. And even if only the JavaScript engine improved in speed, you'd see a speed boost despite having JavaScript disabled in web pages, since parts of Firefox itself are implemented in JavaScript.

    --
    The shareholder is always right.
  14. Microsoft's Biggest Mistake by TheNarrator · · Score: 4, Interesting

    Microsoft's biggest mistake was thinking people wouldn't write complicated apps in Javascript. They supported it, in their usual half broken style, but it created the only widely deployed cross-platform system for running code that Microsoft has ever implemented. Now, with Firefox 3 running so fast javascript might become THE platform. It's hilarious because Javascript started out as such a kludgy platform and now it is becoming a serious contender if only because it's the only cross-platform thing Microsoft ever supported.

    1. Re:Microsoft's Biggest Mistake by chelsel · · Score: 5, Insightful

      I have nightmare's about JavaScript being the one language to rule them all... please, let's have no such talk.

    2. Re:Microsoft's Biggest Mistake by kabz · · Score: 3, Interesting

      Yes, and the most interesting thing about JavaScript is that it is arguably the most successful and widely deployed Lisp ever. Before you laugh, it has procedures as first class objects, can eval code, has lexical closures ... it's an absolutely rocking language if you want to do functional things. I love it for prototyping up algorithms.

      Take a look at Functional JavaScript. Extensions for functional programming.

      Or the great PrototypeLibrary. Note the functions like 'reduce' that can apply to array.

      --
      -- "It's not stalking if you're married!" My Wife.
  15. How about the frickin' memory? by Reality+Master+101 · · Score: 2, Interesting

    Speed is great, speed is fine. I like speed. But how doing something about the fact that Firefox was that 550 megabytes of memory with only about 10 windows / tabs open? And I don't want to hear any nonsense about caching. Sorry, but I have NOT downloaded 550 megabytes of data today, and even if I had, I don't want it ALL cached.

    This has to be the #1 complaint about Firefox -- that it's such a memory pig. Is the design so brain damaged that it just can't be fixed? Or do the developers just not care?

    Yeah, my computer has a lot of memory, but I'd like to devote that to VMWare, Photoshop, video editing, etc. Not a browser!

    --
    Sometimes it's best to just let stupid people be stupid.
    1. Re:How about the frickin' memory? by ServerIrv · · Score: 4, Insightful

      Mark this as off-topic if you like. I'm responding partially to the parent comment, but mostly to its score and reason.

      This is a discussion board. How can you mark someone's comment as redundant? Is this an attempt to invalidate their statement? Don't blame them when it's actually a limitation of the forum system. There is no simple way to increment an "I agree" or "I have the same problem" counter, there has to be a new comment for each person who agrees. There is no way of adding weight to a comment except by increasing child nodes, or adding as many individual argument nodes that are similar. Yes, there is already one branch in this thread that talks about the memory issues, but relax not everyone perfectly gets all their statements in exactly the right location in the discussion tree. Judge it simply on what it says, not the comments location.

      For what it's worth, I agree. I also have problems with memory bloating with FF. I don't really care if they are memory leaks, or memory fragments, it's still a problem that I would like to see fixed. Unfortunately I cannot fix the problem, so I will patiently wait for the next great release of FF. I have no solution, but this is my informal bug report.

      Increase in speed on JavaScript will be great. There are many times when my FF instance gets temporarily grayed out when it loads a page with lots of JavaScript. This is the window manager thinking that FF is locked up and not responding.

  16. Re:Memory leak? by bunratty · · Score: 4, Informative

    No, recently the developers have found that few leaks are left, so that to reduce memory usage further they had to change their focus to reducing fragmentation. Originally, the problem was leaks, it's just that once the worst ones were fixed fragmentation became responsible for a larger fraction of the memory usage. This a continuation of people trying to find one single cause of high memory use. As I and others have been saying for years, there is no one cause. There is no "the memory leak" or "the memory issue", just as there is no "the crash problem" or "the security problem".

    --
    What a fool believes, he sees, no wise man has the power to reason away.
  17. Re:Firefox Performance by Vombatus · · Score: 5, Informative
    but PDF is the Page Description Format.

    I could have sworn that PDF was Portable Document Format. All your other points about it are correct though.

    --
    This sig is intentionally blank
  18. OS X Results - Spoiler Safari Wins by 99BottlesOfBeerInMyF · · Score: 5, Informative

    Well someone had to, so I ran the numbers for OS X. All of the below were on OS X 10.5.2 running on a MacBook:

    • Safari 3.0.4 - 11112.0ms
    • Safari with Nightly Webkit r30628 - 3525.8ms
    • Firefox Nightly3.0beta4pre - 4330.2ms
    • Opera 9.26.3727 - failed (but all those that ran were slower than Safari 3.0.4 so it is the slowest overall for what worked.)

    I guess if you're a Safari or Firefox person you can look forward to some really fast Javascript performance either way.

    1. Re:OS X Results - Spoiler Safari Wins by 99BottlesOfBeerInMyF · · Score: 3, Informative

      Replying to my own post, I probably should have included Firefox 2.0.0.12 as well. Here are the numbers for that and Firefox 1.5.0.8 which is still on my machine for testing purposes.

      • Firefox 2.0.0.12 - 13840.0ms
      • Firefox 1.5.0.8 - 16849.6ms
    2. Re:OS X Results - Spoiler Safari Wins by 99BottlesOfBeerInMyF · · Score: 2, Informative

      I think comparing firefox3b4p to webkit is like comparing apples and oranges. Firefox3b4p is a beta version of an actual product, whereas webkit is a rendering engine.

      That's why that line in my comparison reads, "Safari with Nightly Webkit r30628." Safari is an actual browser, I just replaced the back end. It's not like I'm going to write my own minimalist front end for it, after all, when it is so easy to plug into Safari. In fact, if anything I'd say Firefox was getting the advantage since I tested the newest versions of their front end and back end whereas I used the old front end for Safari which could, theoretically, be optimized to work better with the latest version of WebKit.

      When apple decides to upgrade safari with a newer version of webkit, then I'll take notice... But until then, webkit will just be a very nice shiny rendering engine with tons of potential.

      I guess I don't see the difference between running a nightly build of Firefox (including Gecko) and running the nightly build of Webkit plugged into Safari. I didn't compile either one and both are just a download and then you double click on them. It is one of the nice things about separating the rendering engine and the front end. Try it yourself. This page has links for Windows and OS X. You just download the image and run it like you would any other application.

    3. Re:OS X Results - Spoiler Safari Wins by 99BottlesOfBeerInMyF · · Score: 2, Insightful

      I like how you're using the very latest, bleeding-edge, nightly builds of everything. Except Opera, which you're using the latest stable release of. Not even the beta, nevermind the even newer stuff.

      I'm not trying to be partial, I did search Opera's Web site and the most recent version I could find for download is 9.50 beta. Unfortunately, Opera 9.50beta failed completely. It would not even finish the test (hung on crypto:aes). That is why I used vesion 9.26 (it being the most recent aside from 9.5 on their download page). I mentioned this to a friend, however, and he said it failed for him the first time, but worked a subsequent attempt. So I just tried it three more times, and one of them it actually completed. It resulted in the following:

      • Opera 9.50.4506 beta - 8388.4ms

      I'm happy to try a more recent version on this same hardware if you can point me to one and if it actually is functional enough to run. Likewise if anyone can point to another browser they would like me to reference for them.

      P.S. if you're involved in Opera development, the fact that selecting the "Opera" menu and "About Opera" loads a Web page over what you're doing, in my case canceling the test and making me start over, is really annoying. Can't it at least load a new tab?

      Oh, and just for fun I also ran a few other browsers:

      • OmniWeb 5.7.v615 sneak peek 1 - 10001.4ms
      • iCab 4.0.1 - 9666.0ms
      • Camino 1.5.5 - 12088.8ms
      • Shiira 2.0 - 9530.0ms

      That makes the full list for OS X:

      • Safari 3.0.4 - 11112.0ms
      • Safari with Nightly Webkit r30628 - 3525.8ms
      • Firefox 2.0.0.12 - 13840.0ms
      • Firefox 1.5.0.8 - 16849.6ms
      • Firefox Nightly3.0beta4pre - 4330.2ms
      • Opera 9.26.3727 - failed (but all those that ran were slower than Safari 3.0.4 so it is the slowest overall for what worked.)
      • Opera 9.50.4506 beta - 8388.4ms (this only worked one time and I ran it four total; still pretty buggy I guess.)
      • OmniWeb 5.7.v615 sneak peek 1 - 10001.4ms
      • iCab 4.0.1 - 9666.0ms
      • Camino 1.5.5 - 12088.8ms
      • Shiira 2.0 - 9530.0ms

      I'm sure I missed a few and there are probably newer betas of some of those, but they were not easily found on their Web sites.

  19. Is this a legitimate benchmark for a browser? by NevarMore · · Score: 3, Interesting
    I've seen the SunSpider benchmark come up before, and it is a great benchmark for JavaScript as a language, but it may be inappropriate for a browser.

    This test mostly avoids microbenchmarks, and tries to focus on the kinds of actual problems developers solve with JavaScript today, and the problems they may want to tackle in the future as the language gets faster. This includes tests to generate a tagcloud from JSON input, a 3D raytracer, cryptography tests, code decompression, and many more examples. There are a few microbenchmarkish things, but they mostly represent real performance problems that developers have encountered. Raytracing? Crypto? These aren't things I'd consider running in a browser and certainly not with JavaScript. Just because JaveScript and a modern browser on a mid-range machine CAN do these things doesn't mean it should.

    JSON, code decompression, and traversing XML are things that a browser does with JavaScript, some more often than others. Even in those cases, I wouldn't be surprised if browsers had parsers that 'helped' the common browser JavaScript tasks with faster native-library interfaces instead of purely native JavaScript interpretation.
    1. Re:Is this a legitimate benchmark for a browser? by fireboy1919 · · Score: 2, Insightful

      Agree about ray tracing, but crypto is very relevant. If you aren't using javascript md5 in your login page, then your password is wizzing around the internet in plain text - not a good idea.

      Only if you don't use https, or NTLM, or Kerberos (all browser supported mechanism that don't require javascript). Depending on javascript for encryption is silly.

      MD5 is extremely broken for passing passwords about.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
  20. Why is this marked as troll? by Overly+Critical+Guy · · Score: 5, Informative

    Why is the parent comment marked as troll? It was reported a few weeks ago that the next version of Safari, 3.1, would see major JavaScript performance gains due to the latest WebKit builds. This article uses the beta Windows 3.0 version to compare to.

    --
    "Sufferin' succotash."
    1. Re:Why is this marked as troll? by causality · · Score: 2, Funny

      Why is the parent comment marked as troll?

      Because there are too many knee-jerk idiot mods who don't consider context and can't be bothered to check facts.

      At least when they mod me "Offtopic" they'll have done the job correctly.
      --
      It is a miracle that curiosity survives formal education. - Einstein
    2. Re:Why is this marked as troll? by moosesocks · · Score: 2, Informative

      Indeed. Ever since Apple "opened up" its WebKit development, they've made quite a few cool innovations. In addition to cleaning up their JavaScript engine (which has been a sore point for Safari for the entirety of its existence), they're beginning to implement functions commonly provided by many of the increasingly popular Javascript Libraries.

      Long and short, Safari's native implementation of getElementsByClassName is astronomically faster. Firefox 3 shows similar improvements over the JavaScript implementation of the same function.

      On the other hand, it *does* beg the question of why on earth we haven't begun to design something a bit more friendly and efficient than JavaScript, which is (at best) an obfuscated nightmare, and pitifully slow on even the fastest of machines when performing simple tasks.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
  21. Re:Firefox Performance by larry+bagina · · Score: 3, Insightful

    OS X proves that a PDF reader can be as fast as HTML. Faster in some cases -- no need to lay out and render large tables, complex CSS, etc.

    --
    Do you even lift?

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

  22. Re:OSX? by XaXXon · · Score: 2, Insightful

    I disagree that it looks bad on os x (using it right now), but it has already been addressed. If you have ff3b3, you can download the os x theme.

  23. Re:OSX? by BrainInAJar · · Score: 5, Insightful

    I have. Still ass. doesn't go lighter when it's backgrounded, stays the same dark grey as if it were foregrounded.

    Open-Source seems good for getting a job 90% finished and completely ignoring the 10% polish required to make it an app of the same quality as closed-source

  24. stalling by rubycodez · · Score: 3, Insightful

    and does a single tcp socket's stalling not cause the whole damn thing to seize up?

    1. Re:stalling by roca · · Score: 4, Interesting

      Actually in Firefox 3/Gecko 1.9, external CSS loads do not block the parser. Woohoo! However, we do block the parser if the page tries to execute script while there are pending CSS loads.

  25. Re:About time by XaXXon · · Score: 2, Informative

    What the internet desperately needs is an application transfer protocol completely distinct from HTML.

    We already have a perfectly good one. It's called HTTP. While the acronym may be misleading, it has nothing to do with HTML. In fact, no protocols (that I know of) have anything implicit to do with HTML.

    I agree that we should be getting the damn code out of your hypertext, but that doesn't necessitate a new protocol.

  26. Re:Browser speeds by Naughty+Bob · · Score: 2, Informative

    Just to give you the alternate perspective- I love the idea of Opera, and use the kick-ass mini (and mobile) versions every day. But on my desktop, it just seems so foreign. It's like a swiss army knife, with inbuilt functionality poking out every which way, and (in my head) obstructing the work I've got planned- It doesn't feel like it's mine.

    I realise that it mostly is amazing, and I'm not satisfied with Firefox by any means, but Opera just feels alien; a bit like when you start messing about with WINE after a long period of not needing to.

    I realise that seems woolly as fuck, but I guess Opera is sufficiently advanced that such intangible and abstract criticisms become the only valid ones.

    --
    "Be light, stinging, insolent and melancholy"
  27. Have they discovered threads yet? by RelliK · · Score: 4, Insightful

    Or does a single tab still cause the entire browser to freeze up?

    --
    ___
    If you think big enough, you'll never have to do it.
    1. Re:Have they discovered threads yet? by Abcd1234 · · Score: 2, Interesting

      If you can find a way to magically thread javascript in a way that allows multiple windows and tabs to communicate with each other (as the DOM requires), I'm sure the mozilla folks would absolutely *love* to hear about it.

    2. Re:Have they discovered threads yet? by multi+io · · Score: 4, Insightful
      If you can find a way to magically thread javascript in a way that allows multiple windows and tabs to communicate with each other (as the DOM requires), I'm sure the mozilla folks would absolutely *love* to hear about it.

      How about just implementing it? No magic needed. If the whole UI is slow and tends to lock up because it uses only a single thread, and the reason for that is that the language/runtime the UI is written in doesn't support threads, then you have three options:

      • keep everything as it is, maybe pretend the problem doesn't exist
      • rewrite in a language that does support threading
      • extend Javascript resp. its runtime/libraries to support threading
      The last one is probably the best option if you want to solve the problem, minimize the amount of work required to do so, and don't want to force all the plugin writers to use another language.
    3. Re:Have they discovered threads yet? by Wolfier · · Score: 4, Interesting

      Exactly what I think.

      Who cares about Javascript performance when a single script running at any speed can freeze the entire browser?

      Or a few Youtube tabs can slow the browser to a halt? (Hint: Firefox REALLY need to delegate Flash rendering to an external process, something I can renice 19. Just like how Konqueror uses nspluginviewer)

    4. Re:Have they discovered threads yet? by BZ · · Score: 2, Informative

      The JS runtime in Firefox supports threading and has for years. I believe it did that even before the Mozilla project started. Using this in the UI or across tabs/windows is blocked on several issues:

      1) Web content expects all JS that might interact with each other (which includes JS in different windows) to run on a single thread. Not doing that breaks websites.
      2) All the DOM code is single-threaded. Changing that would involve some nontrivial locking overhead. Might be worth it as processors become more and more parallel.
      3) A lot of other application code is single-threaded in Firefox (though a number of worker threads _is_ used). This would need to be addressed.

      Making the runtime support threading is the easy (and done long ago) part.

  28. Not really what matters to me ... by jopet · · Score: 3, Interesting

    Luckily many pages don't need Javascript or at least not a lot of JS to render.
    What I find more important are the lockups I get because of limitations to multi-threading in FF, at least under Linux. There are situations where one window locking up means all windows lock up. There are situations where some initial connection to a host being stuck means all of the browser locks up. One can only guess, because FF does not indicate what the problem is -- but more frequently than is funny, I have FF get unresponsive, not re-painting windows anymore and just eating up CPU and memory without reacting until I kill it.
    This sucks and this doesn't seem to have changed in FF 3.

  29. Focusing on the wrong aspects by abigsmurf · · Score: 4, Interesting

    I always see these benchmarks and wonder "why does this matter?". The only time I ever see Javascript run too slow or tax my CPU is when it's buggy and then it'll probably throw up all sorts of warnings anyway. This is on any browser I've used and any system.

    What matters to me is the imperfect implementation of Flash (it's not really their responsibility but it is their problem) which often eats up 100% CPU from random flash objects or causes firefox to freeze. Another annoyance is Firefox being frankly poor at displaying large HTML files (when you go on websites with insanely large lists for instance). Where as IE and Opera display these as the page is downloaded. Firefox, for me, freezes, much like notepad will when you open a 2meg+ file . Sometimes it'll recover and display the page after a minute or so, sometimes I have to ctrl+alt+delete.

    1. Re:Focusing on the wrong aspects by dido · · Score: 3, Insightful

      The fact that Firefox, being an XUL application, has significant chunks of core code written in JavaScript, is probably the main reason why this matters very much. Even if you never visit a site in the wild that uses JavaScript or run with JavaScript totally disabled, you should still see some general improvements in Firefox's performance.

      --
      Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
  30. Firefox 3 beta 3 on Linux is great by LingNoi · · Score: 4, Informative

    I had these problems with Firefox 2 exactly running the default Ubuntu version. I downloaded the firefox 3 beta 3 from the website and it is so much better it is unbelievable.

    - Where as before FF2 would use around 500 meg it now only uses around 50 meg
    - Flash no longer crashes the browser
    - Javascript no longer crashes the browser
    - Those long pauses as it is doing something that stalls the browsers operation are gone.

    I couldn't believe the difference.

    1. Re:Firefox 3 beta 3 on Linux is great by Fallingcow · · Score: 3, Interesting

      I'm running the Hardy Heron alpha, featuring FF3 Beta 3.

      I'm having terrible trouble with it. Bizarre image rendering issues (some render too high in their "frame", leaving a big black space at the bottom and the bottom half of the image rendered in the top half of the "frame", with the top of the image cut off, and other times images from WAY back in my browsing session will show up in odd places, like as a tiled background on another page), GMail hangs when I try to send e-mail every single time I try, and leaving it open too long has proven to be a great way to end up with an unstable mess.

      Not refuting your post, just saying to anyone thinking about trying it, don't count on it being a great experience :)

    2. Re:Firefox 3 beta 3 on Linux is great by Curtman · · Score: 4, Informative

      I would add to that list:

      - Ctrl-MouseWheel zooming scales the images as well so the pages look normal without text overlapping the graphics

      That feature alone is worth upgrading for.

    3. Re:Firefox 3 beta 3 on Linux is great by Donniedarkness · · Score: 2, Informative

      Kind of like the "zoom" in Opera? If so, I may semi-jump ship. It's one of my favourite things about Opera.

      --
      Earn a % of cash back from Newegg, Tiger Direct, Walmart.com, and more: http://www.mrrebates.com?refid=458505
  31. Re:CPU hogging bug fixed? by bunratty · · Score: 2, Insightful

    I've seen similar complaints, but have never been able to reproduce any such problem. I can open and close tabs all day, and Firefox does not suck up all my memory, or even a significant portion of it. I can't even run it long enough to come close to sucking up all of my memory (it would take several weeks of use every day without ever closing it). Could you explain how the rest of us could see the problem? If you do, we could report it and the problem could be fixed.

    --
    What a fool believes, he sees, no wise man has the power to reason away.
  32. Re:Memory leak? by fontkick · · Score: 4, Funny

    There is no "the memory leak" or "the memory issue", just as there is no "the crash problem" or "the security problem"

    Once upon a time there was this OS named Windows Millennium Edition, also known as "the" in your examples above.

  33. Re:Firefox Performance by CoughDropAddict · · Score: 2, Informative

    You haven't even mentioned the number one problem that makes Firefox slow when it's been open for too long: memory allocation costs associated with heap fragmentation.

  34. Re:Hi, I'm the parent by LingNoi · · Score: 2, Informative

    You must be using windows, on Linux it doesn't do this, you just download the zip file, extract and run.

  35. Re:Firefox Performance by jalefkowit · · Score: 3, Informative

    Flash has more and more accessibility support, but PDF is the Page Description Format. It's meant for print output and says nothing about the meaning of the contents of the document, just how they are supposed to look on the screen and on the page.

    Um, PDFs can be made just as accessible as HTML documents, and Adobe's PDF tools have good integrated support for assistive technologies built in.

    PDF accessibility is a lot like HTML accessibility; you have to know what you're doing to make it happen, but you can make it happen.

  36. Re:OSX? by Surt · · Score: 2, Insightful

    That's the 10% that takes hard work.

    --
    "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
  37. Re:About time by LingNoi · · Score: 4, Insightful

    You may freely use and distribute the code presented in these tutorials under any license EXCEPT the GPL or any other license which denies authors their right to do as they please with their own code.
    Hypocrite
  38. Re:Firefox Performance by ashridah · · Score: 2, Informative

    I've got to agree with you. Memory usage, per se, isn't going to affect speed, *if* that memory isn't constantly being addressed.
    If the memory in question are rendered page caches, which aren't going to get touched unless they're viewed. As long as the allocation tables are efficiently indexed, i don't see how memory usage is directly related to speed.

  39. Screw Adobe; I use Foxit Reader. by tepples · · Score: 2, Informative

    Finally, why do you think PDF = lean and mean? Foxit Reader is part of it.
    1. Re:Screw Adobe; I use Foxit Reader. by Genocaust · · Score: 2, Interesting

      Concur. I actually hated PDF for the longest due to how slow and crash prone (I thought) it was. Just a bad experience with Adobe reader and browser plugins, though. After learning of, and switching to, Foxit -- PDF is a beautiful thing all over again.

      --
      It could be that the only purpose of your life is to serve as a warning to others.
  40. FF3 is using FreeBSD's new malloc by Anonymous Coward · · Score: 2, Informative

    Firefox is actually using FreeBSD's new malloc (jemalloc; PDF) internally, instead of the default OS allocater on all platforms. It's quite fast and has less fragmentation than other implementations.

  41. Re:CPU hogging bug fixed? by LithiumX · · Score: 3, Insightful

    I've also known other people to complain about it - while others have no idea what they're talking about. You have to love sporadic issues.

    I'm pretty sure it has to be a combination of minor flaws in Firefox (as not every program I run has this issue), Windows XP (with memory handling far better than previous versions, but still not exactly the gold standard of memory management), and all the myriad changes to my system's configuration over time.

    It does it on both my work computer and my home computer. Then again, they're both XP Pro machines. They're very different in terms of hardware, which tentatively rules out a specific hardware config. The memory on my home machine is double that of my work machine, but the highpoint seems to be about the same - so I doubt it has much to do with total system memory. What sites I hit seems to have no relevance. The only other common factor I can think of is that I run NoScript on both - though if I remember right the problem predated my use of that (I first noticed it a while back, and had actually hoped 2 would fix it).

    The main issue seems to be that a specific amount of memory is eaten up when you open a site in a tab - but closing that tab often doesn't clear up the space. I just now closed every tab except Slashdot - and it went from 157mb (when I had 14 tabs open) to a minuscule 153mb. From experience, waiting for it to dump cache is ineffective. If I close the program, the memory clears itself just fine - but only if there is no other Firefox window open. I'm guessing that multiple Firefox app windows share a footprint.

    Then again, saying "all" of my memory was an exaggeration. I've rarely seen it hold on to much more than 150mb after closing all but one window, though if I go on for very long without at least shutting down firefox, that minimum can creep up - and on a few occasions really has taken more memory than I actually have on my machine (virtual cache trash time). It's also probably not a noticeable problem unless you're a heavy multitasker (in which case that footprint becomes painfully obvious).

    I've noticed it doesn't happen on my fiance's Vista machine, or on any 2003 Server boxes I've run it on. It may be a problem that only occurs on XP, or it just doesn't like the way I smell.

    However, if you are able to reproduce it, you'll see it happen whenever more than one tab has been opened. Opening one tab, then clearing it, seems to work - but once a second tab opens, clearing the original tab clears it's footprint, but any tab opened after that exhibits the problem.

    --
    Do not confuse "Freedom of Choice" with "Free Will".
  42. Re:Multi-Threaded by runningduck · · Score: 2, Insightful

    I think instead of multi-threaded, the developers should seriously consider a multi-process model. The front end skin could broker back end processes and provide a display buffer. This would provide free page isolation. If a plug-in goes haywire, bizerk or whatever the kids says these days, the front end can just kill off the process and continue humming along.

    --
    -rd
  43. Depends on application by definate · · Score: 2, Informative

    I have found JavaScript performance depends immensely on what it was written for.

    For instance Gmail in FireFox is really fast, almost as if it weren't a web application.

    However, Gmail in Opera is a lot slower.

    Possibly due to how FireFox caches and similar, but either way, theend result is that Google Apps is a lot faster on FireFox.

    --
    This is my footer. There are many like it, but this one is mine.
  44. Re:Firefox Performance by SanityInAnarchy · · Score: 2, Insightful

    why does it seem like they're all flakey?

    I beg to differ -- Webkit is actually pretty damned good, in terms of speed, stability, and compliance. About the only thing it lacks is universal support from webpages, but then, that used to be a problem for Firefox -- there's not a whole lot a browser can (or should!) do about sites that don't follow the standards.

    Why do we even still use html?

    I'm going to say IE. Whatever replaces HTML must work in IE, and it must do so without any fuss.

    But that's only because I'm assuming we'd replace HTML with something like XHTML, which is (inexplicably) broken in IE.

    why not use something like PDF or flash for a fully graphical web?

    PDF is no more or less "fully graphical" than HTML. In fact, if I remember right, PDF is based on PostScript, which is a Turing-complete language designed to format documents for printing -- sounds pretty textual to me.

    Flash might be, but do you really want the Internet to be based around keyframe animations?

    The difference is, HTML is designed for the Web.

    PDF is designed for print. I'd much rather have a website which I can resize to any window I want, and let the text flow to fit, than a PDF document which has pages that are certain proportions, exactly, leaving huge margins and gaps between pages for no reason. PDFs certainly have their place, but the Web ain't it.

    And I only say that because I don't know enough about the other capabilities of PDF to know if it can quite replace the Web as we have it -- plugins, javascript, video, etc.

    Now consider Flash. Adobe certainly seems to want this to happen. AIR embeds a SQLite engine, a Webkit engine, and probably some other things as well, basically allowing you to develop a desktop app in HTML and Flash -- but since it's Webkit everywhere, you don't have to worry about browser compatibility. And Flash itself keeps getting more and more capabilities, though it still sucks for video, and still isn't hardware-accelerated at all in the browser window.

    But it's really frightening that you want to replace HTML, an open standard that works just about everywhere, with Flash, a wholly proprietary system that is only relevant to this discussion because Adobe has seen fit to port it to enough platforms. I'm still waiting for my 64-bit Linux Flash, and I can't do a damned thing about it, other than contribute to reverse-engineering projects like Gnash.

    And yes, I know you can get the SWF spec. You can get it under a license which forbids you from developing a player. Woo hoo.

    While it would make writing crawlers and accessibility harder, I think that is something that could be worked on,

    Stop right there.

    You want us to stop working on improving HTML engines, and start working on adding features that don't currently exist to PDF or Flash? And then write a browser around them?

    Think about that for a minute. Do you really expect it to be easier that way?

    that can be parsed easier than html.

    HTML is easy to parse. It's even easy to render. It's broken HTML that's hard.

    And XHTML would be even easier -- but again, there's that Internet Explorer problem. That, and most websites aren't ready, either.

    Now, if your suggestion was to start over completely, I'd be all for it. There are many things I wish had been done differently. But that would take an order of magnitude more time and effort than your crazy-assed PDF and SWF ideas.

    --
    Don't thank God, thank a doctor!
  45. Re: No Script by Vapula · · Score: 2, Informative

    Except that Mozilla relies on HTML, CSS, XUL and JavaScript for it's whole user interface, for it's extension system, ...

    So, even with NoScript which stops the webside JS, there is still tons of JS to execute...