isar-community / isar

Extremely fast, easy to use, and fully async NoSQL database for Flutter
https://isar-community.dev
Apache License 2.0
131 stars 15 forks source link

Performance issue #37

Closed richard457 closed 5 months ago

richard457 commented 5 months ago

isar 4.0.0

 await db.variants
        .where()
        .idEqualTo(variation.id)
        .and()
        .deletedAtIsNull()
        .findFirstAsync();
mrclauss commented 5 months ago

Do you have some more details?

mrclauss commented 5 months ago

The problem description is unclear

richard457 commented 5 months ago

When using async the program lags for 5 seconds vs when using non-async

richard457 commented 5 months ago

@mrclauss I think it should not be caused because it was not addressed.

vicenterusso commented 5 months ago

When using async the program lags for 5 seconds vs when using non-async

Please create a full project that reproduces this issue, not just a piece of code