Commit graph

10 commits

Author SHA1 Message Date
Prateek Sunal 769d2c9bd7 fix: integration test readd 2024-04-13 14:02:49 +05:30
Prateek Sunal 262c68a59d fix: add end to file stream 2024-04-13 14:02:49 +05:30
Prateek Sunal 99d84821c7 feat: add multipart upload support 2024-04-13 14:02:29 +05:30
Ashil 628d13ea53
[mobile][photos] Use sqlite async for fetching all files for search (#1391)
## Description

Using [sqlite_async](https://pub.dev/packages/sqlite_async) has
increased query speed by about 5x and has removed GC logs like:
`Background concurrent copying GC freed 424845(20MB) AllocSpace objects,
183(4932KB) LOS objects, 37% free, 39MB/63MB, paused 144us,44us total
128.048ms`, which has improved performance of the app.

Tried using [sqlite3](https://pub.dev/packages/sqlite3), which reduced
query speed by 10x and removed the GC log, but introduced some jank
since it blocks the UI.

Converting the fetched rows to `EnteFile` now runs on an isolate to
avoid blocking the UI.

## Tests

Did manual testing to see difference in jank.
2024-04-09 15:17:48 +05:30
ashilkn 7b94c32bbf Do not upload files if ACCESS_MEDIA_LOCATION is not granted 2024-04-01 15:51:13 +05:30
Prateek Sunal d92fd25a78 fix: home widget count function 2024-03-29 19:46:13 +05:30
Ashil ed4886a6a5
[mobile][photos] Fix performance benchmarking config (#1195)
## Description

- Fix broken integration test used for benchmarking gallery scroll
performance.
- Automate email and password entry.
- Write script to run perf test.
2024-03-25 10:30:13 +05:30
Ashil dc2474801c
[photos][mobile]Update home_widget git dependency URL (#1098) 2024-03-14 21:23:53 +05:30
Prateek Sunal 5acef45118
[FIX] HomeWidget improvements (#737)
## Description
- Use Background fetch as workmanager is not working as expected.
- Use new asset for empty state.
2024-03-09 16:21:04 +05:30
Manav Rathi 41b2581b8f Move into mobile/ 2024-03-01 12:25:37 +05:30
Renamed from pubspec.lock (Browse further)