Storage IOPS.
500 × 4 KB records into IndexedDB. Measures write IOPS, sequential read IOPS, then random read IOPS. Cleans up afterwards.
IDB sits on top of the OS file layer — numbers correlate with disk speed but include database overhead. Useful as a comparative test, not as an absolute disk benchmark.
We open a fresh IndexedDB store and run three phases. Phase 1: 500 sequential put() calls inside one transaction, timed end-to-end. Phase 2: 500 sequential get(key) calls. Phase 3: 500 get(random key) calls. Each phase reports operations per second.
Final cleanup clears every record. The store remains (empty); IDB doesn't expose drop, so subsequent runs use the same empty store.