

Likewise, the new DevTools coming with Flutter 2.8 include a new Enhance tracing feature to extend the set of traced events when building widgets, laying out objects, and painting them. To make it easier for developers to inspect the performance of their apps, Flutter 2.8 now sends tracing events to Android systrace, which means they can be visualized along with the rest of Android native tracing events. An additional 10% reduction in memory occupation is achieved by more accurately informing the OS about which pages in memory can be reclaimed. To reduce memory consumption, the Dart VM's service isolate has now its own bundle, which makes it possible to postpone its loading and reduce the initial memory footprint. These changes may bring a significant performance improvements especially on low-end devices, says the Flutter team.Īll together these improvements have resulted in reduction in startup latency for Google Pay of 50% when running on a low-end Android device, and a 10% improvement on high-end devices.Īnother area where Flutter apps were struggling with on low-end devices was memory. To reduce app startup latency, Flutter 2.8 addresses a few shortcomings in the Dart VM garbage collector, reduces serialization while creating platform views, and enables concurrent initialization of the font manager. Along with it, Google has announced a new Dart version, Dart 2.15, improving worker isolates, introducing constructor tear-off, and extending enums. Flutter 2.8 focuses on improving app startup time, reducing memory footprint, and making it easier for developers to profile performance issues.
