Re: HTML 5 Canvas: Linux Performance Issues

Will Daniels <[email protected]> Thu, 8 Oct 2009 12:40:28 -0700 (PDT)
Newsgroups gmane.comp.mozilla.performance
Organization http://groups.google.com
Message-ID <9243d388-060d-4aa1-abe1-d2d922b42d7f@m20g2000vbp.googlegroups.com>
Hi Boris, thanks for your reply!

On Oct 8, 3:17 am, Boris Zbarsky <[email protected]> wrote:

> Just as a note: none of the Mozilla.org builds are done with icc.  The
> Windows builds (which use PGO) are done with MSVC.

LOL, OK, not sure where I gathered that misconception from then,
though I guess it's not substantively important anyway, especially in
view of:

> Just to check... were the Ubuntu builds 64-bit, by any chance?  If so
> (and this is my most likely hypothesis at the moment), you're probably
> seeing the lack of a 64-bit jit in Firefox 3.5.3's JS engine.  The
> mozilla.org builds are 32-bit.

Aha, yes that makes a _lot_ more sense than putting it down to PGO! I
am indeed using the 64-bit Ubuntu binaries (though it came as some
surprise when I checked - obviously I'm not booting from the root
partition that I thought I was :D). In any case, I was not aware that
there's no/limited JS JIT on 64-bit, so I guess that explains it well
enough, given the degree of floating-point arithmetic involved.

> > PS: If anybody can suggest also why the rendering of my fractal "zoom
> > box" (on the mousemove event) is noticeably lagged using the Mozilla
> > Linux build, but not the Ubuntu build (or any other build of any other
> > browser on any other platform that I tried)
>
> _That_ is really odd.  I'll look into that.
>
> -Boris

That would be cool, though to be honest I haven't really looked at it
properly myself yet, and no doubt you have bigger fish to fry ;) I
would be embarrassed if it turned out to be just my lousy javascript
knowledge. Though on second thoughts, it does work fine in all other
cases...so I don't know...maybe if someone could just confirm for me
that it *is* lagged with the standard Mozilla builds for Linux, in
case I did something wacky with the install?

Cheers!
Will