aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/batch-runner.js
Commit message (Collapse)AuthorAge
* Rename the oft-used, verbose sqlite3.wasm.get/setMemValue() and ↵stephan2022-12-09
| | | | | get/setPtrValue() to peek/poke() and peek/pokePtr(). The old names are retained as aliases just in case any client code actually uses them, but they are now deprecated. FossilOrigin-Name: ad0a8139b0b025f8e9d2eca0c303557ef10fdfab8c8b65afb08c510a804073d5
* Move the sqlite3.capi.wasm namespace to sqlite3.wasm. This causes a tiny bit ↵stephan2022-10-29
| | | | | of naming confusion with the sqlite3.wasm *file*, but seems to make more sense than having it as a sub-namespace of capi. FossilOrigin-Name: 3f16eb18d6186ca972fca952ccac18649e7a905213f589e53c0c9333e695448d
* Add configurable cache_size to batch-runner and speedtest1-worker. Add SQL ↵stephan2022-10-03
| | | | | tracing to demo-123.js just for demonstration's sake. FossilOrigin-Name: 2ab065133bec19f71a1dc382946fdbd020920b2e38a526f4126a3a1e8df5de87
* batch-runner.js: force WebSQL batches to not abort for a failed statement ↵stephan2022-09-30
| | | | | (necessary for apples-to-apples-ish benchmark comparisons). FossilOrigin-Name: 60f0c5cb04d2baf8431e523434d8753e39377f4b2c6bad225c2e5487a4be419b
* Rework the Emscripten-emitted module loader/init function such that it ↵stephan2022-09-29
| | | | | passes on the sqlite3 module, instead of the Emscripten module, to the first then() of sqlite3InitModule()'s returned Promise. This eliminates any need to mention the Emscripten module object in client-side code unless they want to configure it in advance for loading-status reports. FossilOrigin-Name: 0dbaa0e2b5abf5c23e2039ec90a3055ebb3c063aaf4e556c42546defe6fbb86d
* Wasm: expose sqlite3_exec() and use it to simplify the db-reset logic in ↵stephan2022-09-28
| | | | | batch-runner.js a bit. FossilOrigin-Name: 2e2821f782511b9d2274a89a5a922582aba18c7e9dc7ce01080e713942a56d7d
* More work on batch-runner.html/js to facilitate speed comparisons between ↵stephan2022-09-28
| | | | | various VFSes and WebSQL. FossilOrigin-Name: 3bd1bc240676e56da87fc49f3c67a1edc4fafcf2a2416298d19ae4f80b676a72
* Correct duplicate copies of sqlite3-api.js being embedded in the ↵stephan2022-09-28
| | | | | wasmfs-based builds. FossilOrigin-Name: bbfcfba260f39a9c91e82d87e06b1c2cb297c03498b4530aa3e7e01ef9916012
* WASM API renaming. Reworked JS API bootstrap's async post-init into a ↵stephan2022-09-27
| | | | | generic mechanism, no longer OPFS-specific. FossilOrigin-Name: c42a8cb090cad1108dfd6be574202d744c59e053b505bc4c17252dc6b65d26bf
* Add batch-runner-kvvfs.html, a kvvfs-specific build of batch-runner.html. ↵stephan2022-09-16
| | | | | Reduce the speedtest1 --size X value for the batch list generation to 5 so that the kvvfs batch runner can handle it. FossilOrigin-Name: d8df25920a047d5cf2093cc6233128c5e6057a9104d0c4397e643645bd646fe1
* Add/apply various kvvfs-specific utility APIs to the JS layer to assist in ↵stephan2022-09-13
| | | | | testing and analysis. Correct a backwards default arg check for sqlite3ApiBootstrap(). Add exports for sqlite3_db_handle(), sqlite3_file_control(), and the SQLITE_FCNTL_xxx enum. FossilOrigin-Name: 0d78961870ee9f22f1ba16d423377d28dcc36e04b1e31ffd57f3e2fd51f8f0f2
* Minor cleanups and documentation in the wasm pieces.stephan2022-09-11
| | | FossilOrigin-Name: 4e6ce329872eb733ba2f7f7879747c52761ae97790fd8ed169a25a79854cc3d9
* wasm: minor text and build cleanups.stephan2022-09-03
| | | FossilOrigin-Name: 36ceef94e1935f5e85f79e489cd0ed265a77820fb68329c190794df5e076bf84
* batch-runner.js: add rudimentary metrics export to CSV. Add a toggle to ↵stephan2022-08-30
| | | | | reverse the log output mode (in normal order or most recent first). FossilOrigin-Name: b26e2bc05537a1f451db1bdd36a824d71c3ea25a130b6285f31ff9799d65fa7a
* batch-runner.js: re-enable unlink-before-run so that OPFS speedtest1 batch ↵stephan2022-08-30
| | | | | can work. FossilOrigin-Name: ba08f7a7f12601aa580a8dc493b43cdd5ab65c87d5e4b3fd2f549343e45c2d2a
* batch-runner.js: move generated SQL files into ./sql and start adding ↵stephan2022-08-30
| | | | | hand-written ones (like the Mandelbrot) to that set. FossilOrigin-Name: 06c106a7d23e4486dbed092757b7588688226ad35539ecc31378a8497f59d1ec
* Lots of tweaking in batch-runner.js. Minor internal API update in OO #1 API.stephan2022-08-29
| | | FossilOrigin-Name: 24b82b9504db3d8e1335c2300b133f897dc1a541026dc24be5b0ffd8be66d977
* Add batch-runner.js for running batch SQL scripts with timing info.stephan2022-08-29
FossilOrigin-Name: 11f3ed61150c5940da6c157e5063e70c3aa0628dfd0023c47bb65b00af74ab1f