Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for ext/wasm/api/sqlite3-vfs-opfs-sahpool.js
2023-07-20
| ||
09:06 | Renamed to ext/wasm/api/sqlite3-vfs-opfs-sahpool.c-pp.js. Filter the OPFS VFSes out of the sqlite3-node.mjs build. Add another level of subdirectory to the sahpool to later enable transparent support of client-provided files under the VFS's root dir. Rework the awkward sahpool-via-oo1 mapping. (check-in: [080a4d0a] user: stephan branch: opfs-sahpool, size: 0) | |
2023-07-19
| ||
17:47 | [05b5646b] part of check-in [64ccf617] More internal refactoring and docs for opfs-sahpool. (check-in: [64ccf617] user: stephan branch: opfs-sahpool, size: 40453) | |
13:31 | [d3e41757] part of check-in [534481cd] Major restructuring of opfs-sahpool to improve maintainability and hopefully make it easier to reuse these pieces in the upcoming JSPI-based VFS experiment. (check-in: [534481cd] user: stephan branch: opfs-sahpool, size: 39084) | |
08:18 | [9a8ba44b] part of check-in [6bd5a741] Internal refactoring in opfs-sahpool. Move OPFS tests to the end of tester1.c-cpp.js. (check-in: [6bd5a741] user: stephan branch: opfs-sahpool, size: 37987) | |
2023-07-18
| ||
19:47 | [a33b88be] part of check-in [60713fa9] More opfs-sahpool tests. (check-in: [60713fa9] user: stephan branch: opfs-sahpool, size: 37386) | |
19:27 | [4490d1b6] part of check-in [9c8a73af] Fix a shadowed var in opfs-sahpool and add more tests. (check-in: [9c8a73af] user: stephan branch: opfs-sahpool, size: 37546) | |
18:52 | [cd4d26fd] part of check-in [91c78923] Further refactoring of opfs-sahpool and start integrating it into tester1.c-pp.js. (check-in: [91c78923] user: stephan branch: opfs-sahpool, size: 37554) | |
16:24 | [fc6d1229] part of check-in [95e5fa49] Major restructuring of the opfs-sahpool bits to better support multiple instances per app (each sandboxed from each other). Eliminate the pesky promise resolution race condition when two such instances are loaded in parallel. (check-in: [95e5fa49] user: stephan branch: opfs-sahpool, size: 37601) | |
12:09 | [a3307deb] part of check-in [d036eaf6] Refactor opfs-sahpool to support multiple instances, each with a separate VFS name and directory. (check-in: [d036eaf6] user: stephan branch: opfs-sahpool, size: 34546) | |
2023-07-17
| ||
07:14 | [ff3495c0] part of check-in [2c9c95d0] sahpool vfs: rename defaultCapacity to initialCapacity, per feedback. (check-in: [2c9c95d0] user: stephan branch: opfs-sahpool, size: 32632) | |
2023-07-16
| ||
20:20 | [c1d6244e] part of check-in [0cb0d7a9] Minor doc tweaks. (check-in: [0cb0d7a9] user: stephan branch: opfs-sahpool, size: 32676) | |
19:29 | [b35db298] part of check-in [1c4957d0] Correct a missing assignment. Minor doc additions. (check-in: [1c4957d0] user: stephan branch: opfs-sahpool, size: 32621) | |
19:20 | [62a20546] part of check-in [044c28df] Doc tweaks only, no code changes. (check-in: [044c28df] user: stephan branch: opfs-sahpool, size: 32379) | |
17:51 | [fa2f08cb] part of check-in [80982daa] Add a way to remove the opfs-sahpool's persistent state from OPFS or unlink() an individual file. Doc cleanups. (check-in: [80982daa] user: stephan branch: opfs-sahpool, size: 32313) | |
16:52 | [c19ccfc2] part of check-in [d2ed9955] Move SAH pool configuration options from the library-level config to a config passed to the VFS install routine. Extend and document the PoolUtil object. (check-in: [d2ed9955] user: stephan branch: opfs-sahpool, size: 32092) | |
14:07 | [5ffed44d] part of check-in [aa94c8ab] speedtest1.js: only install opfs-sahpool if it's provided via --vfs flag, to avoid locking errors in concurrent speedtest1 tabs with other VFSes. Add opfs-sahpool reserveMinimumCapacity(). (check-in: [aa94c8ab] user: stephan branch: opfs-sahpool, size: 26779) | |
11:49 | [ba799928] part of check-in [52f23db9] Micro-optimizations in opfs-sahpool. (check-in: [52f23db9] user: stephan branch: opfs-sahpool, size: 26519) | |
10:02 | [0e982cc4] part of check-in [809c6f4d] Redefine what the opfs-sahpool installation promise resolves to. Fix addCapacity(). Add utility methods to import/export files. (check-in: [809c6f4d] user: stephan branch: opfs-sahpool, size: 26474) | |
2023-07-15
| ||
21:08 | [0032097c] part of check-in [279e0907] Minor cleanups in the opfs-sahpool VFS. (check-in: [279e0907] user: stephan branch: opfs-sahpool, size: 25447) | |
19:08 | [83388ead] part of check-in [41bf1fe3] Correct opfs-sahpool VFS after the pebkac involving the previous speedtest1 runs. Make that VFS explicitly opt-in to avoid certain unfortunate locking situations. (check-in: [41bf1fe3] user: stephan branch: opfs-sahpool, size: 25711) | |
11:37 | [ad6ec4e8] part of check-in [fff68e9f] Rename opfs-sahpool removeCapacity() to reduceCapacity(). (check-in: [fff68e9f] user: stephan branch: opfs-sahpool, size: 24832) | |
11:23 | [63358699] part of check-in [5d92d5f4] opfs-sahpool VFS now seems to work, in that it runs fine (and blazingly fast) in speedtest1. Add sqlite3.config options for the high-level configurable parts of opfs-sahpool. (check-in: [5d92d5f4] user: stephan branch: opfs-sahpool, size: 24832) | |
01:02 | [54beb56c] part of check-in [b4e005fd] More work on porting the sahpool bits. Revert to random backing-store names because it works better with the capacity-reduction algorithm. (check-in: [b4e005fd] user: stephan branch: opfs-sahpool, size: 18854) | |
2023-07-14
| ||
23:02 | [a54fee5e] part of check-in [7c6697ed] Switch opfs-sahpool to use deterministic backing-store file names. Delay VFS registration until after the pool's files are all opened. Fail vfs init if the client's OPFS API has an async FileSystemSyncAccessHandle.close() method (indicating that it's outdated). (check-in: [7c6697ed] user: stephan branch: opfs-sahpool, size: 11690) | |
21:48 | [ce281cec] part of check-in [ef96e6b5] Integrate the opfs-sahpool VFS into the JS build and get it loading (but it's still far from functional). (check-in: [ef96e6b5] user: stephan branch: opfs-sahpool, size: 11219) | |
21:17 | Added: [d0bc04c2] part of check-in [a93de9f2] Initial sketches for an alternate OPFS VFS which uses a pool of pre-opened SyncAccessHandles to bypass the need for a dedicated I/O worker and the COOP/COEP HTTP response headers. Currently completely non-functional. (check-in: [a93de9f2] user: stephan branch: opfs-sahpool, size: 10908) | |