Results 1 to 2 of 2

Thread: Marquee creating load on CPU in IE8

  1. #1
    Join Date
    Feb 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Marquee creating load on CPU in IE8

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •