Reduce the size of the parser allocation. Add additional instrumentation

to mem2.  speed1*.test uses scratch malloc. (CVS 5472)

FossilOrigin-Name: 599a9dea8fc97d0e7f09e67c9954de8cc1b8748e
This commit is contained in:
drh
2008-07-24 23:34:07 +00:00
parent 513c331df9
commit 2abcd58f09
6 changed files with 57 additions and 30 deletions
+3 -1
View File
@@ -11,9 +11,11 @@
# This file implements regression tests for SQLite library. The
# focus of this script is measuring executing speed.
#
# $Id: speed1.test,v 1.5 2007/03/31 22:34:16 drh Exp $
# $Id: speed1.test,v 1.6 2008/07/24 23:34:07 drh Exp $
#
sqlite3_shutdown
sqlite3_config_scratch 29000 1
set testdir [file dirname $argv0]
source $testdir/tester.tcl
speed_trial_init speed1
+3 -1
View File
@@ -13,9 +13,11 @@
#
# This is a copy of speed1.test modified to user prepared statements.
#
# $Id: speed1p.test,v 1.2 2008/04/03 19:40:59 drh Exp $
# $Id: speed1p.test,v 1.3 2008/07/24 23:34:07 drh Exp $
#
sqlite3_shutdown
sqlite3_config_scratch 29000 1
set testdir [file dirname $argv0]
source $testdir/tester.tcl
speed_trial_init speed1