View Full Version : Marquee creating load on CPU in IE8

02-12-2010, 04:32 PM
1) Script Title: Cross Browser Marquee II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

3) Describe problem: When the Cross Browser Marquee II was added to my future website http://afs.lighthouseclients.com/ it created a 15% cpu load on an i7 processor and a 99% load on a single core P4 when viewing with IE8. After removing, the load went away. Any ideas on what is causing this? Here is the page with a standard marquee tag http://afs.lighthouseclients.com/index-newscript2.html

02-12-2010, 05:40 PM
It would be easier to tell perhaps, if you could link to a page that actually demonstrates the problem. It may be an orphan page, not an actual part of the site.

Anyways, scripts do tax the CPU, as does Flash. I notice a 20 to 30 percent spike in CPU usage on my 2.3 dual core CPU every time the Flash image changes. With certain (not all) Flash and certain (also not all) scripts both on a page, it is possible that the net CPU usage and/or spikes can multiply exponentially. This would depend to an extent upon the CPU, as well as the scripts and Flash used.

I have a Sudoku script I've been playing around with for ages. On most machines and in in a certain browsers a certain feature on it runs quickly, on other browsers not, and even in the one browser, on other machines not. And this has nothing to do with processor speed, more likely architecture, or settings.

I'd say avoid the script if it is causing problems. Or try it without the Flash to see what happens. You could probably substitute the Ultimate Fade In script:


for the Flash, that might be more compatible with the marquee script.