Skip navigation

Animated gifs still slow down Safari

14556 Views 31 Replies Latest reply: Aug 27, 2013 3:54 AM by ewalthert RSS
  • andyBall_uk Level 6 Level 6 (17,460 points)
    Currently Being Moderated
    Aug 30, 2010 8:23 AM (in response to steko)
    even the smallish rotation gif has a noticeable cpu hit, and as Klaus says, runs way too slow in safari or the latest webkit nightly. I can well imagine a ppc mac battling with a few of those.
  • Klaus1 Level 8 Level 8 (43,325 points)
    Currently Being Moderated
    Aug 30, 2010 8:28 AM (in response to andyBall_uk)
    I can well imagine a ppc mac battling with a few of those

    No battle, just slightly slower!
    20" 2.1GHz iSight iMac G5, 250GB HD, 1.5GB RAM, Mac OS X (10.5.8), iLife 9 but iMovie 6, QTPro 7.6.6, Safari 5.0.1
  • steko Level 2 Level 2 (270 points)
    Currently Being Moderated
    Aug 30, 2010 8:32 AM (in response to Klaus1)
    But on slower machines (Koen: iMac G5 1.8 GHz) it can be to much for the CPU on some sites.

    Check the example from the WebKit bug report: http://www.aintitcool.com/files/HoD2.gif

    If the tab it runs in has focus, in Safari Activity Monitor shows up to 95% CPU on a single core (on first run of the loop), Firefox only around 5% here !
    Mac Pro Xeon 8 Core 2.8GHz | 10 GB RAM, Mac OS X (10.6.4)
  • Klaus1 Level 8 Level 8 (43,325 points)
    Currently Being Moderated
    Aug 30, 2010 8:37 AM (in response to steko)
    Confirmed!
    20" 2.1GHz iSight iMac G5, 250GB HD, 1.5GB RAM, Mac OS X (10.5.8), iLife 9 but iMovie 6, QTPro 7.6.6, Safari 5.0.1
  • andyBall_uk Level 6 Level 6 (17,460 points)
    Currently Being Moderated
    Aug 30, 2010 8:38 AM (in response to steko)
    Yes, a better example - pushes safari up to 70-80% cpu here.
  • steko Level 2 Level 2 (270 points)
    Currently Being Moderated
    Aug 30, 2010 9:20 AM (in response to Koen)
    You're welcome!

    And as I'm on Snow Leopard, it is still an issue...
    Mac Pro Xeon 8 Core 2.8GHz | 10 GB RAM, Mac OS X (10.6.4)
  • RotaryP7 Level 1 Level 1 (0 points)
    Currently Being Moderated
    May 1, 2011 11:28 PM (in response to Koen)

    Has this issue been fixed? It happens to me all the time on my MacBook w/ Snow Leopard. Haven't tried any browser except safari though since I just got the Mac. Is there a fix or do I need to install a different browser?

  • mrfcobf Calculating status...
    Currently Being Moderated
    May 30, 2011 8:40 PM (in response to RotaryP7)

    I have the same problem.  I have completely reset Safari, and I even deleted the various plist files.  Safari is running well on all but a few sites, and it always seems to come down to the animated gifs.

     

    Here is one particular site:

     

    http://failblog.org/

     

    Depending on the particular page, it can cause a freeze of up to 90 seconds!

     

    I'm running a fairly new (15-18 month old) MacBook Pro, 10.6.7, no missing software updates, 4 gigs of RAM, 142.59 gigs free on my HD, and I'm only running a few apps, so my RAM isn't all used up.  I even ran a permissions repair and restarted about 10 min ago just for kicks.

     

    Frustrating...

  • joshuasp Calculating status...
    Currently Being Moderated
    Jun 12, 2011 7:47 AM (in response to mrfcobf)

    It doesn't have anything to do with your machine. I am not sure why, but it's Safari. It's not webkit or the machine. I have tested the issue on the latest builds of Chrome, also a webkit browser, and firefox on several new Macs and iOS devices. All browsers run the animated gif easily on the different macs, except safari which has issues on all the devices including the iOS devices.  Here is the gif I made and have tested http://digitalresin.net/viral_test.gif.

  • andyBall_uk Level 6 Level 6 (17,460 points)
    Currently Being Moderated
    Jun 12, 2011 9:10 AM (in response to joshuasp)

    Hi Joshua

     

    the example you posted causes no problems here on 10.6.7/safari 5, beyond the known capping of the framerate to ~10fps,

    which has been around long enough to suppose that Apple intend it.

  • RotaryP7 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 21, 2011 4:06 PM (in response to joshuasp)

    No problems here either Joshua. Certain websites, especially forums w/ gif signatures causes Safari to lag.

     

    I'm wondering, is there any way in capping gifs to certain fps? It's getting really annoying and I'd hate to not use Safari. I use Chrome on my other PC's and like to just leave Safari running on this one. I'm on 10.6.8/Safari 5.

  • nbnlko Calculating status...
    Currently Being Moderated
    Aug 9, 2013 10:24 AM (in response to Koen)

    hey guys,

     

    Any gif animated image on my late 2011 MBP17 is excruciatingly slow to load up. And if the page holds mode than 3-4 gifs,… then all **** breaks loose. It's not the case of free space, or the cache ..or for that matter not an issue with the performace of the machine as i have an i7 with 16 gigs of ram. I would say plenty in order to display a simple gif. FlashPlayer is updated to the latest version .. all my stuff is updated to their latest verions ...

     

    Is there any fix for Safari nowadays ? I do not wish to use another browser just so that i can watch a couple of gifs ..

     

    thanx

  • joshuasp Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 9, 2013 10:37 AM (in response to nbnlko)

    Do you have a link to the gifs you are referring to? I would like to test it and see if I have the same issue.

     

    Also Flash player will not affect gifs in anyway. Gifs are like a flipbook animation. They are made of various frames that they cycle through to create an animation. Their animation can be cycled continuously, set to play once or set to play a certain number of times. The major changes in gifs today are their frame rates. Newer browsers support a much faster frame rate play back. This means that the animation is smoother and not as choppy. The implication is that these gifs have a large amount of frames and it takes longer to download them. They are decieving in that way because a jpeg or png is loaded once, but a gif might have 50 frames which is like downloading 50 jpegs. It's really the responsibility of the designer who made the gif to ensue that a gif doesn't cause issues for the end user.

  • nbnlko Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 9, 2013 11:16 AM (in response to joshuasp)

    here is the link that made me post here

    http://www.smosh.com/smosh-pit/photos/10-funny-video-game-glitches-gifs

    But i don’t have just an issue viewing this specific site, or these specific gifs. This is a known issue for me on my MBP, as any gifs regardless from which site .. or my bandwidth .. they load up extremely slow.

    when i do a test with other people around me on their windows machines, they are able to view these gifs instantly.

    and this bothers me a lot, i mean .. there aren’t many things that i hate about my mac, i could probably sum them up to 5, and by far the most anoying one is the fact that whenever there’s a friend posting a gif .. i might as well skip the gif because i can’t spent 2 minutes to see a 10-15 frame gif.

    at the moment i’m on a low bandwidth (50KB up / 50 KB down), but as i said i have the same issue also when at home where my speed is 7MB down / 4-5 up.

    how could i fix this ..?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.