4 ms·
The Mac implementation of the Flash player is awful, it regularly pegs my CPU. I'm assuming that HTML 5 in a well coded browser will not do the same, no matter
by ericd 17y ago
The Mac implementation of the Flash player is awful, it regularly pegs my CPU. I'm assuming that HTML 5 in a well coded browser will not do the same, no matter how annoying the ad.
- Groxx 17y agoIf you're talking Youtube's HTML5 video player, I regularly stay below 20% CPU. That's 10% total power, as percentages go above 100 when using more than one core. Otherwise, it'd be Javascript + <canvas>, which so far is pretty darned fast, but not too friendly to ad-servers. Not Flash-fast, but speedy, and quickly getting faster. If JS+canvas gets more popular, you can bet that JS will get WAY more attention in this area.
- cake 17y agoI'm actually quite disapointed by Youtube's HTML5. I had great expectations, I know it's just the beginning and I'm sure it'll be better, but I'm closer to 80% CPU than 20% with my Macbook on Safari 4.
- notauser 17y agoAny kind of JavaScript while(true) loop will lock up the page, so you aren't safe from incompetent coders just yet. Depending on the browser and the OS that can bog down the CPU as badly as Flash. (And there's no move towards parallel execution of in-page dom-touching JavaScript yet - web workers can't do it. Concurrency is such an issue that you can't even pass a function into a web worker in case it has bound variables - it's separate-script-and-message-passing only.)