Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

caching operation in IO dispatchers

Hasib Prince requested to merge 7011-caching_improvement into main

Description

This MR will improve the performance when mail list is loaded.

Screenshots

Technical details

Mail app initially shows 20 emails from the cache if exists during data is fetched from backend. Previously this cache management was done in the Main dispatcher which took about 500 ms when frame drop can happen, Now it's done in IO dispatcher which won't block Main thread.

Tests

Issues

backlog/-/issues/7011

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading