2009/8/14 Joe <thewast...@gmail.com>: > > Is there anything that can be done about poor performance with some > animations in Firefox? I know it varies by machine, but with a core 2 > duo and 2 gigs of ram running FF 3.5, I'm getting some pretty ugly > stutters in a simple carousel that I wrote this morning for my > portfolio site. > > If you're running a Windows machine you can probably see what I'm > talking about (Macs are too slick apparently) at joe-morgan.net. The > scrolling of the thumbnail section looks fine, but when you attempt to > scroll the larger project section, it is very choppy, and jitters past > the boundaries of its containing element.
This is a known issue with Firefox 3.5 on Windows; hopefully something will be done about it soon. You can vote for this bug at <https://bugzilla.mozilla.org/show_bug.cgi?id=504640>. FWIW, tests using my own non-jQuery animation engine show exactly the same problem, and it's nothing to do with rendering: I used a test whereby the interval between ticks was simply calculated and saved internally, and only when the "animation" was over did I plot this on a graph using SVG. Chrome was fine, with almost no deviation from the interval period; Firefox showed large pauses, which are what translate to the "juddering" effect when used in animation. Just to emphasise: this happens even when there is absolutely no DOM manipulation going on whatsoever, just a subtraction and an array push every 20 milliseconds. So this isn't an issue that can be addressed by jQuery - it's a performance bug with Firefox's JS garbage collection on Windows, pure and simple. Regards, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---