Skip to content

Commit 7a99adc

Browse files
authored
Update README.md
1 parent 6b411ef commit 7a99adc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/examples/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ IDBBatchAtomicVFS can trade durability for performance by setting `PRAGMA synchr
1616

1717
Changing the page size after the database is created is not supported (this is a change from pre-1.0).
1818

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+
1928
### AccessHandlePoolVFS
2029
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.
2130

0 commit comments

Comments
 (0)