Firefox Mac Builds with CFRunLoop

I posted a test build of Firefox to the mozilla.org FTP site.

ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/experimental/plevent/firefox-1.0+.en-US.mac.PLEVENT.dmg

This build uses the CFRunLoop event system, which should be a major performance win, especially for plugins and drawing. We need the community to test this quite a bit so we can try to get this in for Firefox 1.1. Give it a spin and let me know how it goes!

21 thoughts on “Firefox Mac Builds with CFRunLoop

  1. Running this instead of the nightlies. Anything in particular I should be aware of?

  2. There appear to be some weird bugs with back/forward in your build. I’ve fastback enabled, and if I click back twice, it won’t show the second last page unless I reload first. However, if it redraws anything, it will redraw the second last page, and not the last page.

    Also, I discovered some weird behaviour with a Java applet where opening the contextual menu caused Firefox to stop responding to key presses. I was unable to reproduce it.

    I hope I’m making sense.

  3. Nice speed boost!!!

    I do have some bugs, though. Keep in mind that I haven’t used any nightlies or alphas since 1.0-

    First of all, ditto on Arthur’s tab bug.

    The other problems I’ve had relate to the bookmarks toolbar. First, I have one submenu that disappears every time I move the mouse over to highlight it; I have several other subfolders, and they work fine. Secondly, the ‘Open in Tabs’ option at the bottom of the menus will usually fail to render, leaving the entire line solid white.

    Ooh, just got another one. An duplicate of the scrollbar appeared on the left side of the window. It’s happened three times, now. Clicking in the window will make it go away, but I can’t seem to intentionally reproduce it though…

    I hope this helps.

  4. Arthur’s bug is not specific to this build. Couldn’t find a bugzilla for it. Seem to remember it occuring when tab reordering patch landed.

    Galan, from your description, the missing open in tabs option is not specific to this build: bugzilla number 289973.

    Don’t know about the others, I’ve just run into these two in the regular nightlies. =)

  5. tested on a 300 MHz iBook, Mac OS X 10.2.8

    I could see that Flash was indeed a bit faster, but the overall event handling sucked big (compared with the 20050618-nightly).

    – The pulldownmenu of the toolbar oftens show an empty window (not always the 1st time, but almost always the second time that you open the menu), and Firefox hangs. I have seen this bug before in older trunk builds, but it was always corrected the next day. It might be a bad build.

    – Clicking on the scrollbar is often slow to react.

    – movies in Quicktime have a lower framerate. Audio is fine, but video can’t keep up anymore.

    – When bfcache is enabled, and you go back, the window doesn’t refresh (100% repeatable)

    I’m typing this in the latest nightly (20050618), which is a lot better than this experimental build. Definitely not ready for prime time.

  6. I’m seeing the same funkiness when attempting to go Back with Fastback enabled. Going Back via contextual menu did nothing. I then left-clicked in the window and got a partial repaint… here’s a screenshot:

  7. I tested it on PowerBooks 1.67 G4 with 10.4.1
    Noticable speed increase! Especially on some of the NWS expermental radar site. Loads graphics far better than regular nightly builds. I have no problems with it. Great job!

  8. I too am experiencing the trouble with forward and back. Another problem I found was with Java. See the page at:

    Look at the Java index in the left frame. Click on an item. You will see that once the new frame loads the java index shadow remains. Cannot return to previous page either.

    Hope this helps. . . please keep posting updated info to those of us in the Mac community. It is hard to find specific updates as you have done today. I know there are many of us who would really appreciate regular updates like this one.

    Dr. G

  9. I too am experiencing the trouble with forward and back. Another problem I found was with Java. See the page at:

    http://www.usc.edu/dept/education/CMMR/home.html

    Look at the Java index in the left frame. Click on an item. You will see that once the new frame loads the java index shadow remains. Cannot return to previous page either.

    Hope this helps. . . please keep posting updated info to those of us in the Mac community. It is hard to find specific updates as you have done today. I know there are many of us who would really appreciate regular updates like this one.

    Dr. G

  10. Josh, outstanding job – this has been the snappiest feeling build that I have run. Keep up the great work, I hope this makes it in to 1.1

  11. Flash doesn’t suck anymore!

    Wow, I can actually use Firefox without having to avoid Flash content. This is on a G4 500Mhz, that would previously beachball on such content.

  12. Mitchell: Try the FlashBlock extension.

    Tried this build and it crashes if you switch to another page while scrolling. To reproduce:

    Go to a fairly slow site. Click on a link that will take a while to load (wikipedia for instance). Click and hold the scrollbar. Wait for the page you are trying to open. Crash.

    Also had to close Firefox earlier this day because it used 100% CPU for quite a while (4 sec?) when I switched to another page/tab/window. Had the same problem with other builds so this is probably not related to CFRunLoop.

    Besides that: good work! Firefox can really use some work in this department. It’s just nuts that it regularly eats up 40%+ when I have more that a few pages/tabs open and aren’t using Firefox.

  13. Also experiencing strange back/forward problems with bfcache enabled. No redraw, or only partial redraw. Reload fixes it. Also, the flash games at homestarrunner.com still seem just as choppy and lagged on my 1.5 GHz G4 Powerbook as with normal Deer Park and 1.0.x builds.

    I do see the duplicated scroll bar issue Galan Montgomery posted about. For example, drag-scrolling this very text input box creates a duplicate (same size and direction) scroll bar in the top left of the page content area.

    But even weirder, I’m seeing another scroll bar oddity up in the navigation bar, which I don’t see mentioned here. A scroll bar, sometimes vertical, sometimes horizontal, occasionally appears in the top left of the application window, layered over where the back/forward/reload/stop buttons are. Clicking those buttons to repaint the area makes it go away. (And no, the scroll bar is not functional). E-mail me if you want a screen shot. It seems to happen inconsistently right after page load.

    /jmd

  14. On a G4 Pbook 400 and iMac G5 flat, I’ve seen no problems not already reported here or that weren’t also present in Safari or another browser. Very nice speed improvement too, especially on the older 400mhz G4.

  15. I’m also finding problems with bfcache. When I go back once it remains displaying the current page until I scroll up/down. If I go back twice it displays the page that’s back one until I scroll.

    The open in tabs menu item on live bookmarks seems to disappear and be replaced by whitespace at times.

    But it’s blazingly fast.

  16. I disabled bfcache because of the issues mentioned above, but the loss in back/forward performance is more than made up for by the performance boost in nearly every other area.

  17. I see no difference.

    Firefox/DeerPark still can’t scroll rammstein.com smoothly. Safari and Opera render/scroll it much, much faster.

Comments are closed.