5 ms·
What's the battery drain like?
by dalore 15y ago
What's the battery drain like?
- hasenj 15y agoIt's not like animating a gif doesn't use up CPU cycles.
- pharrington 15y agoI accidentally upvoted you (trying to view your profile, I dont have downvote privileges). The CPU use of just about any GIF spinner is trivial compared to this, even in the browser this runs best in. Sure its a solid enough concept, but not something that'd you actually use in practice yet.
- hasenj 15y agoI actually agree that a JS spinner probably uses too much CPU to be justify its use, but I seriously doubt it would have that much effect on the battery. EDIT: It also seems the actual spinning is done with CSS, not JS
- user24 15y ago> It also seems the actual spinning is done with CSS, not JS that means it'll be hardware accelerated where supported, which will increase battery life.