I have noticed when browsing my site that often firefox will become sluggish and eventually dim. This only happens on pages that have the rotating banner. I am running Linux as my desktop, and using top reveals that the firefox + Xorg processes together often takes 100% of the CPU. When changing the transition type to anything else, the problem does not occur.

Further, I have done some JavaScript profiling and have found that the time is not actually spent in the JavaScript code; it is below that, Also I have seen similar behavior on Mac OS/X. I don't run Windows natively, so I don't have good data for that.

I would like to suggest that we change the default transition to 'scrollDown'. People can still choose fade if they wish, but it doesn't make for an impressive site when a visitor's lights dim under the extreme load. :-)

CommentFileSizeAuthor
rotatingBanner.patch640 bytespaul.lovvik

Comments

Jackinloadup’s picture

I just tried to reproduce your problem on my web site using a rotating_banner with 20 decent sized banner images (920x280) using the fade transition on firefox 3.6.10 as well as on chrome-stable. Everything seemed to work great. I pulled up a system monitor to see if there were any issues. it would hit the CPU hard (80%) for the duration (0.3s) of the transition or so but didn't cause me to lockup or anything quite like that. This spike occurs in Mac OS X as well. In my case i would consider this a normal CPU usage considering.

This is only my usage and my attempt to recreate the issue above. I would encourage others to try and recreate as well.

No one wants their website locking up their users browsers. ^_^

In case anyone doesn't understand the dimming that paul.lovvik talks about. In many linux distributions that use Compiz when an application locks up the window will dim darker.

David_Rothstein’s picture

Status: Active » Fixed

This was committed as part of http://drupal.org/cvs?commit=439144

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.