iOS CPU usage problem

I’ve noticed, that an empty project that only trace(“Hello openfl”) on the iPhone 5S uses 30% of the CPU (this information was shown in XCode profiler). Is that a normal behavior?

Thanks!

It turns out that I had vsync=false in my project.xml
When I changed it to vsync=true, CPU utilization decreased from 30% to 10%

What does vsync do? is it only for iOS target?

Let’s try not to bring up an old topic :slight_smile:

In the old (legacy) iOS target, using vsync=“true” used the CADisplayLink API to synchronize rendering with what iOS prefers for timing, this can allow for a lower CPU usage when applications are not using a lot of CPU anyway.

This is enabled always in current OpenFL/Lime releases