diff options
| author | 2023-12-27 13:27:50 -0500 | |
|---|---|---|
| committer | 2023-12-27 21:55:40 -0500 | |
| commit | feace42ede84fa7b199c1c5e9ca587ecb3a72512 (patch) | |
| tree | 20ac7a951ed6b8f16024100fe386f78a10cd10e4 /libs/androidfw/StringPool.cpp | |
| parent | 2d1d2ccee4085ec7571711639bcaafc3fde84473 (diff) | |
Reduce NICRefactor load on main dispatcher
Main thread load is reduced via three tacks:
1. Offload as much computation as possible to the bg thread dispatcher.
2. Share Flows where possible. This is performed in the view-binder
where we know that states will be observed by multiple collectors, so we
can optimize by sharing using stateIn.
3. Remove any unnecessary upstream Flows, to reduce excessive
recomputation.
Tracing has also been added to help diagnose future performance issues,
if any arise.
Bug: 317509049
Flag: ACONFIG com.android.systemui.notifications_icon_container_refactor TEAMFOOD
Test: atest SystemUITests
Change-Id: I90e1cfc3ab24c75ec15a1e14952b880829f17471
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions