ReSwift / ReSwift-Todo-Example

Demo application for ReSwift
MIT License
42 stars 10 forks source link

Energy consumption is very high #1

Open DivineDominion opened 8 years ago

DivineDominion commented 8 years ago

As per reddit:

This example app seems to have abnormally high CPU and energy usage when compared to the 'Lister' sample app from Apple, and it's far more complex than this little demo.

I really wouldn't want to be running an app on a MacBook or iOS device that kills my battery when compared to the Apple design patterns. We see libraries like this pop up - all of the time, as if Apple has never been down this road before, or they don't experiment internally.

https://developer.apple.com/library/mac/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/index.html#//apple_ref/doc/uid/TP40013929-CH15-SW1

Aleksion commented 8 years ago

Ok this is rather important. We should definitely look into where the power leaks are coming from and whether we can optimize for them.

DivineDominion commented 8 years ago

I believe the energy consumption problem is fixed in the latest version. @ReSwift/reswift someone else please verify this.