Re: [w3c/IndexedDB] Feature Request: Allow batch adding records (from an Array) (#69)

shadow-identity left a comment (w3c/IndexedDB#69)

Performance of Chrome and Firefox decreases significantly when using a combined index:
```js
store.createIndex('abc', ['keyA', 'keyB', 'keyC'])
```
Adding 1 million simple, non-nested records _(waiting for the transaction to close) on Apple M3 takes about **1 minute** on Chrome and **two minutes** on Firefox. 

I believe with optimized bulk addition, this could be significantly faster.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/69#issuecomment-2755098908
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/69/2755098908@github.com>

Received on Wednesday, 26 March 2025 16:56:29 UTC