1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Improvements to the speedtest.tcl script. Add documentation on how to use the

script.

FossilOrigin-Name: eb3853d08141bf941193e8ecaf991191bb7fb46287818708a84018520eb1835e
This commit is contained in:
drh
2025-01-17 15:39:48 +00:00
parent e024421624
commit ada3470075
4 changed files with 75 additions and 11 deletions

View File

@ -19,11 +19,16 @@ diff-file is specified then show a diff from the diff-file to the new
output.
Other options include:
--dryrun Show what would happen but don't do anything
--help Show this help screen
CC=... Specify an alternative C compiler. Default is "gcc".
-D... -D and -O options are passed through to the C compiler.
--dryrun Show what would happen but don't do anything.
--help Show this help screen.
--lean "Lean" mode.
--lookaside N SZ Lookahead uses N slots of SZ bytes each
--pagesize N Use N as the page size
--lookaside N SZ Lookahead uses N slots of SZ bytes each.
--pagesize N Use N as the page size.
--testset TEST Specify the specific testset to use. The default
is "mix1". Other options include: "main", "json",
"cte", "orm", "fp", "rtree".
}
set srcfile {}
set outfile {}
@ -66,6 +71,11 @@ for {set i 0} {$i<[llength $argv]} {incr i} {
-DSQLITE_OMIT_SHARED_CACHE \
-DSQLITE_USE_ALLOCA
}
-testset -
--testset {
incr i
set testset [lindex $argv $i]
}
-n -
-dryrun -
--dryrun {