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

Overview
Comment:Fix up test/speed1.test so that it runs.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8f00d13162684c73dd4fd84d2d3182ec204d00b3
User & Date: drh 2013-07-31 08:37:48.757
Context
2013-07-31
14:38
Allow writing to the sqlite_kvstore if "PRAGMA writable_schema" is set. check-in: 874278817a user: dan tags: trunk
08:37
Fix up test/speed1.test so that it runs. check-in: 8f00d13162 user: drh tags: trunk
2013-07-30
20:27
Combine the OP_MakeIdxKey and OP_MakeKey opcodes into a single OP_MakeKey that does the work of both. Standardize the parameter meanings on OP_MakeRecord and OP_MakeKey. Remove the unused OP_Seek opcode. Other related code simplifications and cleanup. check-in: ed5d6992cd user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to test/speed1.test.
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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)








|
|







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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)

287
288
289
290
291
292
293
294
295
296
297
298
}
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







|
|
|
|

287
288
289
290
291
292
293
294
295
296
297
298
}
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