Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/ext/wasm/tests/opfs/concurrency/index.html # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / ext / wasm / tests / opfs / concurrency / index.html` 51 lines ยท 1936 bytes Raw Blame History 1 2 3
4 5 6 7 820 OPFS concurrency tester using multiple independent Workers. 21 Disclaimer: concurrency in OPFS is currently a pain point! 22
23
24 URL flags: pass a number of workers using
25 the workers=N URL flag. Set the time between each
26 workload with interval=N (milliseconds). Set the
27 number of worker iterations with iterations=N.
28 Disable/enable "unlock ASAP" mode (potentially higher
29 concurrency but lower speed) with unlock-asap=0-1.
30
Achtung: if it does not start to do anything within a couple of 32 seconds, check the dev console: Chrome sometimes fails to load 33 the wasm module due to "cannot allocate WasmMemory" when 34 reloading the page. Closing and re-opening the tab usually 35 resolves it, but sometimes restarting the browser is required. 36
3738 Links for various testing options: