Skip to content

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

Open

Description

@mustafa0x

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

  • Plugin version: 6.0.2
  • Platform(s): native

Activity

  1. added
    bug/fix
    on Nov 17, 2024
  2. added a commit that references this issue on Nov 26, 2024
    6d06df5
  3. chris-si commented on Nov 27, 2024

    @chris-si

    I am also experiencing performance issues on iOS where simple queries on a pretty small database sometimes take multiple seconds to complete.
    Unfortunately I wasn't able to pinpoint the exact point in time when this behavior started (e.g. after an update of the library or so) since it only came to my attention quite recently.

  4. abdulraheemawan commented on Aug 27, 2025

    @abdulraheemawan

    Is there any update on this?
    Here is results that i get for ~48000 inserts using executeSet(). It takes around 135042.40893554688 ms which is an absurd amount of time for a sqlite db. My findings also indicate that it is caused by improper use of memory and serialization.

    Image
  5. robingenz commented on Aug 27, 2025

    @robingenz
    Member

    @abdulraheemawan No updates so far. Feel free to submit a PR.

  6. added
    feature
    and removed
    bug/fix
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions