Hi, all,
We really love the beautiful Flutter framework, which improves our development efficiency greatly. Since there are ten millionofusers use our Application everyday,performance is very important for us, including startup time, memory increment (will cause OOM) and App Size increment.
We create a minimum Flutter App to test the startup performance in Release(AOT) mode, and here are results:
(1) iPhone 6: test 22 times
Create FlutterViewController: 327.97 millisecond
(2) iPhone X: test 22 times
Create FlutterViewController: 81.60 millisecond
It seems the startup performance is poor at old iPhone devices, and it is not fast enough at iPhoneX devices too.
Questions: Is there any solution to optimize the startup time of Flutter engine? for example:
(1) remove or some unnecessary init steps
(2) lazy load some init steps
(3) split the Flutter startup into two phases, the engine bootup in the background thread, and the Shell creation in the main thread?
Thanks a lot.