You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/examples/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,15 @@ IDBBatchAtomicVFS can trade durability for performance by setting `PRAGMA synchr
16
16
17
17
Changing the page size after the database is created is not supported (this is a change from pre-1.0).
18
18
19
+
### IDBMirrorVFS
20
+
This VFS keeps all files in memory, persisting database files to IndexedDB. It works on all contexts.
21
+
22
+
IDBBatchAtomicVFS can trade durability for performance by setting `PRAGMA synchronous=normal`.
23
+
24
+
Changing the page size after the database is created is not supported.
25
+
26
+
IDBMirrorVFS has the same characteristics as IDBBatchAtomicVFS in the table below. The differences from IDBBatchAtomicVFS are (1) it is much faster both with and without contention, and (2) it can only use databases that fit in available memory.
27
+
19
28
### AccessHandlePoolVFS
20
29
This is an OPFS VFS that has all synchronous methods, i.e. they don't return Promises. This allows it to be used with a with a synchronous WebAssembly build and that has definite performance advantages.
0 commit comments