diff options
author | drh <> | 2025-02-02 18:01:32 +0000 |
---|---|---|
committer | drh <> | 2025-02-02 18:01:32 +0000 |
commit | f306ca52861de23de08b2247e8f30ce426fa8fcb (patch) | |
tree | 488b53062ca679db7da41ab07a04034e07181c8a /test | |
parent | c229f1181790894dd60262b46357def1e2f3d932 (diff) | |
download | sqlite-f306ca52861de23de08b2247e8f30ce426fa8fcb.tar.gz sqlite-f306ca52861de23de08b2247e8f30ce426fa8fcb.zip |
Add a header comment to test/speedtest1.c that outlines how to compile the
program using historical amalgamation sources, for comparison testing.
FossilOrigin-Name: 602d4dd69ec9a724c69cb41ab15376ec731bfd4894fac0a2b25076b857786c6d
Diffstat (limited to 'test')
-rw-r--r-- | test/speedtest1.c | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/test/speedtest1.c b/test/speedtest1.c index 7bceae851..9d8ddc454 100644 --- a/test/speedtest1.c +++ b/test/speedtest1.c @@ -1,6 +1,28 @@ /* ** A program for performance testing. ** +** To build this program against an historical version of SQLite for comparison +** testing: +** +** Unix: +** +** ./configure --all +** make clean speedtest1 +** mv speedtest1 speedtest1-current +** cp $HISTORICAL_SQLITE3_C_H . +** touch sqlite3.c sqlite3.h .target_source +** make speedtest1 +** mv speedtest1 speedtest1-baseline +** +** Windows: +** +** nmake /f Makefile.msc clean speedtest1.exe +** mv speedtest1.exe speedtest1-current.exe +** cp $HISTORICAL_SQLITE_C_H . +** touch sqlite3.c sqlite3.h .target_source +** nmake /f Makefile.msc speedtest1.exe +** mv speedtest1.exe speedtest1-baseline.exe +** ** The available command-line options are described below: */ static const char zHelp[] = @@ -42,7 +64,8 @@ static const char zHelp[] = " --stats Show statistics at the end\n" " --stmtscanstatus Activate SQLITE_DBCONFIG_STMT_SCANSTATUS\n" " --temp N N from 0 to 9. 0: no temp table. 9: all temp tables\n" - " --testset T Run test-set T (main, cte, rtree, orm, fp, json, debug)\n" + " --testset T Run test-set T (main, cte, rtree, orm, fp, json," + " debug)\n" " Can be a comma-separated list of values, with /SCALE\n" " suffixes or macro \"mix1\"\n" " --trace Turn on SQL tracing\n" |