idb-js icon indicating copy to clipboard operation
idb-js copied to clipboard

严重的大数据查询性能问题

Open htank-wang opened this issue 4 years ago • 0 comments

在本地测试了下10000条数据查询耗时8-9s左右。 而通过indexedDB的store.getAll(),拿出数据后在内存里for循环判断条件。耗时1s左右 demo代码如下: image 遍历游标的方式应该是不可取的。

htank-wang avatar Nov 12 '20 08:11 htank-wang