capacitor-community / capacitor-community/sqlite

bug: native is almost 10x slower than web when selecting 15mb data

Open
#602 3 comments 0 reactions 0 assignees View on GitHub
bug/fix needs: triage
Dominant language
Swift
Stars
661
Forks
158
PR merge metrics
No merged PRs in 30d

Description

I have a database containing ~15mb of data. On the _same_ device, native is almost 10x slower than web. See the following image (native is first). iOS is faster than android, but still far slower. I think the problem is lots of serialization.

![image](https://github.com/user-attachments/assets/f35cc298-0b32-4609-8dc0-937b3956a02d)

- **Plugin version:** 6.0.2
- **Platform(s):** native

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.