mirror of
https://github.com/sqlite/sqlite.git
synced 2024-11-22 12:17:40 +01:00
016f46666b
script. FossilOrigin-Name: 629db09fceb7bf37561b52ccee06ebf4df261291e9a8ffcca82b243f6db5ff07 |
||
---|---|---|
.. | ||
json-generator.tcl | ||
json-q1.txt | ||
json-speed-check.sh | ||
README.md |
The files in this subdirectory are used to help measure the performance of the SQLite JSON parser.
1.0 Prerequisites
-
Valgrind
-
Fossil
2.0 Setup
-
Run: "
tclsh json-generator.tcl | sqlite3 json100mb.db
" to create the 100 megabyte test database. Do this so that the "json100mb.db" file lands in the directory from which you will run tests, not in the test/json subdirectory of the source tree. -
Build the baseline sqlite3.c file. ("
make sqlite3.c
") -
Run "
sh json-speed-check-1.sh trunk
". This creates the baseline profile in "jout-trunk.txt".
3.0 Testing
-
Build the sqlite3.c to be tested.
-
Run "
sh json-speed-check-1.sh x1
". The profile output will appear in jout-x1.txt. Substitute any label you want in place of "x1".