Upsert performance is degraded when the number of docs is increase
Description
Couchbase Lite iOS : 3.1.1
Based on the forum post, Upsert performance is degraded when the number of docs is increase, for example, "Upsert operation for 20k records took ~18 sec, when I have only 20k existing record in DB".
The PO has provided the test application and has done time profiling which can be seen in the forum post. I have downloaded and attached the test app in this ticket.
Build couchbase-lite-log-3.2.0-26 contains couchbase-lite-core commit 1c0f016 with commit message: : Upsert performance is degraded when the number of docs is increase (#1936)
CB robot April 8, 2024 at 7:22 PM
Build couchbase-lite-cblite-3.2.0-27 contains couchbase-lite-core commit 1c0f016 with commit message: : Upsert performance is degraded when the number of docs is increase (#1936)
CB robot March 9, 2024 at 12:46 AM
Build couchbase-lite-c-3.2.0-34 contains couchbase-lite-core commit 1c0f016 with commit message: : Upsert performance is degraded when the number of docs is increase (#1936)
CB robot March 4, 2024 at 4:26 PM
Build couchbase-lite-ios-3.2.0-75 contains couchbase-lite-core commit 1c0f016 with commit message: : Upsert performance is degraded when the number of docs is increase (#1936)
CB robot February 12, 2024 at 5:23 PM
Build couchbase-lite-core-3.2.0-138 contains couchbase-lite-core commit 1c0f016 with commit message: : Upsert performance is degraded when the number of docs is increase (#1936)
Done
Pinned fields
Click on the next to a field label to start pinning.
Couchbase Lite iOS : 3.1.1
Based on the forum post, Upsert performance is degraded when the number of docs is increase, for example, "Upsert operation for 20k records took ~18 sec, when I have only 20k existing record in DB".
The PO has provided the test application and has done time profiling which can be seen in the forum post. I have downloaded and attached the test app in this ticket.
https://www.couchbase.com/forums/t/couchbaselite-swift-ios-upsert-is-too-slow/37357