4 ms·
> When apps are built for mobile, battery usage is a major area to optimize on. I worked on some heavy duty mobile apps like music streaming and unfortunately
by on_and_off 6y ago
> When apps are built for mobile, battery usage is a major area to optimize on.
I worked on some heavy duty mobile apps like music streaming and unfortunately battery usage is the last thing we optimize for.
The platform even provides us with some ways to measure it, but it is just so remote from the metrics we do optimize for that except for major problems, we don't focus on it in the slightest.
>Mobile apps run at 60fps out of the box without much effort.
Technically fps is not the best way to measure this (we tend to focus on dropped frames instead, unlike most video games engines; mobile will not recompose your UI if nothing moves, saving cycles and heat)
Lots of efforts have actually been made to optimize mobile apps. We are starting to reach a point where we do have a top to bottom approach for reasonable performances (try to scroll any app insanely fast .. you will drop frames, but in regular usage; dropped frame are not too noticeable on recent top of the line phones).
Agreed on the article though. Nothing more irritating than running a legitimately demanding application, seeing that it does not have enough resources and realize that a small web app in the background is using 37 cores and 50% of your cpu while you are not even using it (that was whatsapp just now).