Files
react-native/ReactAndroid/src/main/java/com/facebook/react
Alexander Blom 933e17949b Run init on normal thread priority
Summary:
The default priority for AsyncTask is THREAD_PRIORITY_BACKGROUND which puts the thread in a limited cgroup that can utilize ~10% CPU time. Because the whole TTI depends on this task we should run it on a normal priority.

The priority will be reset for the nest task and this has been true since donut: https://github.com/android/platform_frameworks_base/blob/donut-release/core/java/android/os/AsyncTask.java

Reviewed By: astreet

Differential Revision: D3417232

fbshipit-source-id: e1e35f82b35b31ff7ebf4fc59509ca2df21e2bdd
2016-06-13 05:58:22 -07:00
..
2016-04-23 02:37:28 -07:00
2016-01-22 16:20:13 +00:00
2016-06-11 16:43:24 -07:00
2016-06-07 16:43:42 -07:00
2016-05-24 12:43:30 -07:00
2016-02-16 16:51:39 -08:00
2016-06-10 04:28:37 -07:00
2016-06-10 04:28:37 -07:00
2016-02-26 03:24:36 -08:00