demo · v144

Incognito IDB Stress Test

Open this page in an incognito window — the IDB backend underneath is now SQLite-in-memory. Pound the database with a configurable number of writes; the benchmark logs throughput and any errors. The web API didn't change; the engine did.

incognito context detected: checking…
click "run benchmark" to write to IDB

the test

const db = await open('demo'); // window.indexedDB — unchanged API
const tx = db.transaction('items', 'readwrite');
for (let i = 0; i < n; i++) tx.objectStore('items').put({ id: i, blob: payload });
await tx.done;
// In incognito the storage path now goes through SQLite in-memory.

see also