Hacker News new | ask | show | jobs
by tjohns 3864 days ago
For some reason this blog post is using 100% of my CPU while it's sitting idle in the background. Really odd for something that's just static text. Any idea what's going on here?

(Ironically, the actual demo site (pokedex.org) seems to be well behaved in comparison, using ~0% of my CPU, even though it's much more complex.)

1 comments

Hm, that might be due to the autoloop <video>s I have in there (which are great for illustrating the animations, but may be a bit indulgent). Which browser are you on?
Chrome 46 on MacOS.

And I think you're right. I just removed the loop attribute from all the <video> tags, and CPU usage quickly dropped back down to normal.