stephan
|
68003d9f18
Add a basic batch-mode SQL runner for the SAH Pool VFS, for use in comparing it against WebSQL. Bring the WebSQL batch runner up to date, noting that it cannot run without addition of an "origin trial" activation key from Google because that's now the only way to enable WebSQL in Chrome (that part is not checked in because that key is private). Minor code-adjacent cleanups.
|
1 rok pred |
stephan
|
81a3683174
Rename the oft-used, verbose sqlite3.wasm.get/setMemValue() and 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.
|
2 rokov pred |
stephan
|
8948fbee29
Move the sqlite3.capi.wasm namespace to sqlite3.wasm. This causes a tiny bit of naming confusion with the sqlite3.wasm *file*, but seems to make more sense than having it as a sub-namespace of capi.
|
2 rokov pred |
stephan
|
d234902b7c
Add configurable cache_size to batch-runner and speedtest1-worker. Add SQL tracing to demo-123.js just for demonstration's sake.
|
2 rokov pred |
stephan
|
359d62395e
batch-runner.js: force WebSQL batches to not abort for a failed statement (necessary for apples-to-apples-ish benchmark comparisons).
|
2 rokov pred |
stephan
|
b94a98607a
Rework the Emscripten-emitted module loader/init function such that it 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.
|
2 rokov pred |
stephan
|
4b884bb4c7
Wasm: expose sqlite3_exec() and use it to simplify the db-reset logic in batch-runner.js a bit.
|
2 rokov pred |
stephan
|
cb22bd80d2
More work on batch-runner.html/js to facilitate speed comparisons between various VFSes and WebSQL.
|
2 rokov pred |
stephan
|
5ad3631915
Correct duplicate copies of sqlite3-api.js being embedded in the wasmfs-based builds.
|
2 rokov pred |
stephan
|
5b9973d898
WASM API renaming. Reworked JS API bootstrap's async post-init into a generic mechanism, no longer OPFS-specific.
|
2 rokov pred |
stephan
|
57db2174d5
Add batch-runner-kvvfs.html, a kvvfs-specific build of batch-runner.html. Reduce the speedtest1 --size X value for the batch list generation to 5 so that the kvvfs batch runner can handle it.
|
2 rokov pred |
stephan
|
5b91500796
Add/apply various kvvfs-specific utility APIs to the JS layer to assist in 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.
|
2 rokov pred |
stephan
|
73079dba00
Minor cleanups and documentation in the wasm pieces.
|
2 rokov pred |
stephan
|
cdefd5d046
wasm: minor text and build cleanups.
|
2 rokov pred |
stephan
|
53f635df55
batch-runner.js: add rudimentary metrics export to CSV. Add a toggle to reverse the log output mode (in normal order or most recent first).
|
2 rokov pred |
stephan
|
ffc0cbb024
batch-runner.js: re-enable unlink-before-run so that OPFS speedtest1 batch can work.
|
2 rokov pred |
stephan
|
fbf0f488cf
batch-runner.js: move generated SQL files into ./sql and start adding hand-written ones (like the Mandelbrot) to that set.
|
2 rokov pred |
stephan
|
2f06bf2541
Lots of tweaking in batch-runner.js. Minor internal API update in OO #1 API.
|
2 rokov pred |
stephan
|
2cae138fba
Add batch-runner.js for running batch SQL scripts with timing info.
|
2 rokov pred |