From 7a99adc2a4107b01e2f79cb78c36937c6fa010e5 Mon Sep 17 00:00:00 2001 From: Roy Hashimoto <156154+rhashimoto@users.noreply.github.com> Date: Sat, 29 Jun 2024 15:18:47 -0700 Subject: [PATCH] Update README.md --- src/examples/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/examples/README.md b/src/examples/README.md index cff3755..032cb34 100644 --- a/src/examples/README.md +++ b/src/examples/README.md @@ -16,6 +16,15 @@ IDBBatchAtomicVFS can trade durability for performance by setting `PRAGMA synchr Changing the page size after the database is created is not supported (this is a change from pre-1.0). +### IDBMirrorVFS +This VFS keeps all files in memory, persisting database files to IndexedDB. It works on all contexts. + +IDBBatchAtomicVFS can trade durability for performance by setting `PRAGMA synchronous=normal`. + +Changing the page size after the database is created is not supported. + +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. + ### AccessHandlePoolVFS 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.