mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Merge kv-vfs branch into fiddle-opfs branch. Adjust speedtest1 --size flags to account for new size limit.
FossilOrigin-Name: afb79050e635f3c698e51f06c346cbf23b096cfda7d0f1d8e68514ea0c25b7b7
This commit is contained in:
@ -308,7 +308,7 @@ dir.sql := sql
|
||||
speedtest1 := ../../speedtest1
|
||||
speedtest1.c := ../../test/speedtest1.c
|
||||
speedtest1.sql := $(dir.sql)/speedtest1.sql
|
||||
speedtest1.cliflags := --size 5 --big-transactions
|
||||
speedtest1.cliflags := --size 1 --big-transactions
|
||||
# --------------------^^^^^^^^ small size is needed for batch-runner-kvvfs.html
|
||||
$(speedtest1):
|
||||
$(MAKE) -C ../.. speedtest1
|
||||
|
@ -99,7 +99,10 @@
|
||||
const scope = wasm.scopedAllocPush();
|
||||
const dbFile = 0 ? "session" : "local";
|
||||
const urlArgs = self.SqliteTestUtil.processUrlArgs();
|
||||
const argv = ["speedtest1", "--size", "5"];
|
||||
const argv = ["speedtest1",
|
||||
"--size", "2",
|
||||
"--pagesize", "4096" /*1024, 2096 fail with --size > 1.*/
|
||||
];
|
||||
if(urlArgs.flags){
|
||||
// transform flags=a,b,c to ["--a", "--b", "--c"]
|
||||
argv.push(...(urlArgs.flags.split(',').map((v)=>'--'+v)));
|
||||
|
Reference in New Issue
Block a user