News for hackers. Stuff that matters.
Re:It's time to replace GIFs with AV1 video by izzydata on Thursday May 09, 2019 @04:30PM (#19872111)
No "major" impact to the CPU. As insignificant as displaying however many frames exist in the gif as still frame jpegs at the same time.
Re:It's time to replace GIFs with AV1 video by kec on Thursday May 09, 2019 @04:36PM (#19872162)
That's still not accurate. Load up 20-30 gifs on a page and I can pretty much guarantee you'll see your browser saturate a core.
Re:It's time to replace GIFs with AV1 video by reaperducer on Thursday May 09, 2019 @04:41PM (#19872223)
Challenge accepted.

https://www.hampsterdance.com/classics/originaldance.htm

Just did it on my 2011 MacBook Air. Pushes all four cores up... about 15%.

Re:It's time to replace GIFs with AV1 video by wwweston on Thursday May 09, 2019 @05:05PM (#19872417)
> Just did it on my 2011 MacBook Air. Pushes all four cores up... about 15%.

15% of 4 cores ~ 60% single core capacity. That's distinct from saturating a core both qualitatively and quantitatively, which means the prediction is not a bullseye... but it's on the order of magnitude in impact, which means they're not entirely wrong.

Re:It's time to replace GIFs with AV1 video by reaperducer on Thursday May 09, 2019 @05:23PM (#19872578)
True, but it's an eight-year-old computer. And it wasn't exactly a computing powerhouse when it was released.
Re:It's time to replace GIFs with AV1 video by simcop2387 on Thursday May 09, 2019 @05:46PM (#19872751)
Re:It's time to replace GIFs with AV1 video by reaperducer on Thursday May 09, 2019 @09:49PM (#19874364)
That one actually did better.

Two cores went up 20%. The other two didn't budge. Go figure.

Re:It's time to replace GIFs with AV1 video by izzydata on Thursday May 09, 2019 @06:59PM (#19873308)
There we go. Try that with video formats.
Re:It's time to replace GIFs with AV1 video by asdfasgasdgasdg on Thursday May 09, 2019 @04:50PM (#19872297)
Giphy manages to consume a much larger fraction of my modern desktop's CPU. I think it may have something to do with the small size and multiple copies of the gifs on the page you chose.
Re:It's time to replace GIFs with AV1 video by aasasd on Thursday May 09, 2019 @04:53PM (#19872319)
For best results, use a Slack channel, or a forum reply page with an array of animated smileys.
Re:It's time to replace GIFs with AV1 video by bitwize on Thursday May 09, 2019 @06:07PM (#19872921)
To complain about GIF usage saturating your CPU when running an Electron app is to be penny-wise and pound-foolish.
Re:It's time to replace GIFs with AV1 video by fucking_tragedy on Thursday May 09, 2019 @05:00PM (#19872373)
Slack doesn't exactly have the most efficiently implemented front-end interface.
Re:It's time to replace GIFs with AV1 video by aasasd on Friday May 10, 2019 @05:53AM (#19876401)
Ah, yes, I didn't realize that Slack's platform reimplemented the whole graphics-formats-rendering stack. I naively thought that Electron and Slack inherited that from Chromium, but guess stupid me is way behind the times in this technicky stuff. Of course it's all in Javascript now, what was I thinking!
Re:It's time to replace GIFs with AV1 video by a_t48 on Thursday May 09, 2019 @04:45PM (#19872259)
Do things change if each gif is different?
Re:It's time to replace GIFs with AV1 video by kec on Thursday May 09, 2019 @04:48PM (#19872280)
Try again using a gallery page on a site like giphy which is going to be more representative of the use case op was talking about.

edit: such as https://giphy.com/sports/2019-stanley-cup-playoffs which seems to be entirely gifs if you view page resources in the debugger.

Re:It's time to replace GIFs with AV1 video by izzydata on Thursday May 09, 2019 @05:17PM (#19872519)
I don't believe these are actually gifs here. Similar to sites like imgur or twitter they convert it to something else to host for other people. Probably to keep bandwidth down. You can get to the actual gif, but you have to dig for it.
Re:It's time to replace GIFs with AV1 video by MikusR on Thursday May 09, 2019 @04:55PM (#19872335)
Most animated images on giphy are vp8 videos.