cezarywojcik / CWStatusBarNotification

A library that allows you to easily create text-based notifications that appear on the status bar.
MIT License
2.03k stars 260 forks source link

Extreme CPU usage #104

Open ppamorim opened 7 years ago

ppamorim commented 7 years ago

Sorry about this warning. But this is very serious.

I noticed that my device was very warm, so I decided to check the CPU usage. I was surprised when I saw the values floating between 99 and 120% JUST when a animated notification is triggered.

I just removed this component of my application and voila, the CPU usage floats around 5-20% on all features (uploading data, 1080p playback, data syncing...).

And yes, I was using this component as recommended. The source is the Swift version.

Here is a screenshot proving this issue:

screen shot 2017-06-22 at 18 42 46