SQLite4
Check-in [8f00d13162684c73dd4fd84d2d3182ec204d00b3]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
SHA1 Hash:8f00d13162684c73dd4fd84d2d3182ec204d00b3
Date: 2013-07-31 08:37:48
User: drh
Comment:Fix up test/speed1.test so that it runs.
Tags And Properties
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/speed1.test

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
...
287
288
289
290
291
292
293
294
295
296
297
298
# focus of this script is measuring executing speed.
#
# $Id: speed1.test,v 1.11 2009/04/09 01:23:49 drh Exp $
#

sqlite4_shutdown
#sqlite4_config_scratch 29000 1
set old_lookaside [sqlite4_config_lookaside 1000 300]
#sqlite4_config_pagecache 1024 10000
set testdir [file dirname $argv0]
source $testdir/tester.tcl
speed_trial_init speed1

# Set a uniform random seed
expr srand(0)

................................................................................
}
do_test speed1-1.2 {
  db one {SELECT count(*) FROM t1}
} 10000
speed_trial_summary speed1

db close
sqlite4_shutdown
eval sqlite4_config_lookaside $old_lookaside
sqlite4_initialize
autoinstall_test_functions
finish_test







|
|







 







|
|
|
|

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
...
287
288
289
290
291
292
293
294
295
296
297
298
# focus of this script is measuring executing speed.
#
# $Id: speed1.test,v 1.11 2009/04/09 01:23:49 drh Exp $
#

sqlite4_shutdown
#sqlite4_config_scratch 29000 1
#set old_lookaside [sqlite4_config_lookaside 1000 300]
#sqlite4_config_pagecache 1024 10000
set testdir [file dirname $argv0]
source $testdir/tester.tcl
speed_trial_init speed1

# Set a uniform random seed
expr srand(0)

................................................................................
}
do_test speed1-1.2 {
  db one {SELECT count(*) FROM t1}
} 10000
speed_trial_summary speed1

db close
#sqlite4_shutdown
#eval sqlite4_config_lookaside $old_lookaside
#sqlite4_initialize
#autoinstall_test_functions
finish_test