objective c - Will off loading tasks to background threads improve overall performance in iOS? -
while using xcode time profile, see of function calls being performed in main thread. since they're not ui related, want move them background thread. offloading these tasks background thread improve performance of app or still same. know @ least it'd benefit updating ui. how measure performance of app using instruments, profiling module should use?
thanks
offloading tasks don't require main thread way go. main thread deals action demand user attention or related ui actions.
i don't know mean performance when talk delegating background threads. indeed, putting forward better ui/ux performance such can't uplifted through threads.
i recommend profile application , see objects creating?
-monitor leaks.
-consider doing time profiling.
-check if i/o , cpu activities optimum.
these surely nail down , performance related issues. (nb: 5% of time should go profiling app.)
Comments
Post a Comment