diff options
author | stephan <stephan@noemail.net> | 2022-11-21 03:50:52 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-11-21 03:50:52 +0000 |
commit | 27c4cd183d91d09e34e310d6349cda2b33c255ba (patch) | |
tree | f269eaaf5e12a6ae7b83bd040e2bdc9b38db3749 /ext/wasm/tests/opfs/concurrency/index.html | |
parent | ae276719f002a92d1262fc45e67118922f4707b8 (diff) | |
download | sqlite-27c4cd183d91d09e34e310d6349cda2b33c255ba.tar.gz sqlite-27c4cd183d91d09e34e310d6349cda2b33c255ba.zip |
Add test app for experimenting with multi-worker OPFS concurrency. Tweak OPFS VFS to significantly improve the otherwise "unfortunate" concurrency situation.
FossilOrigin-Name: 96f76e7616f8157a342b9e1c42f7b1feab200d182268871a2b25f67d4ee2564c
Diffstat (limited to 'ext/wasm/tests/opfs/concurrency/index.html')
-rw-r--r-- | ext/wasm/tests/opfs/concurrency/index.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ext/wasm/tests/opfs/concurrency/index.html b/ext/wasm/tests/opfs/concurrency/index.html new file mode 100644 index 000000000..79a46692c --- /dev/null +++ b/ext/wasm/tests/opfs/concurrency/index.html @@ -0,0 +1,34 @@ +<!doctype html> +<html lang="en-us"> + <head> + <meta charset="utf-8"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"> + <link rel="stylesheet" href="../../../common/testing.css"/> + <title>sqlite3 OPFS Worker concurrency tester</title> + <style> + body { display: revert; } + body > * {} + #test-output { + font-family: monospace; + } + </style> + </head> + <body> + <h1></h1> + <p> + OPFS concurrency tester using multiple independent Workers. + This app is incomplete. + </p> + <div class='input-wrapper'> + <input type='checkbox' id='cb-log-reverse'> + <label for='cb-log-reverse'>Reverse log order?</label> + </div> + <div id='test-output'></div> + <script>(function(){ + document.querySelector('h1').innerHTML = + document.querySelector('title').innerHTML; + })();</script> + <script src="test.js?sqlite3.dir=../../../jswasm"></script> + </body> +</html> |