1TCUTEST(1)                       Tokyo Cabinet                      TCUTEST(1)
2
3
4

NAME

6       tcutest - test cases of the utility API
7
8

DESCRIPTION

10       The  command  `tcutest'  is a utility for facility test and performance
11       test.  This command is used in the following format.  `rnum'  specifies
12       the  number of iterations.  `anum' specifies the initial number of ele‐
13       ments of array.  `bnum' specifies the number of buckets.
14
15              tcutest xstr rnum
16                     Perform test of extensible string.
17              tcutest list [-rd] rnum [anum]
18                     Perform test of array list.
19              tcutest map [-rd]  [-tr]  [-rnd]  [-dk|-dc|-dai|-dad|-dpr]  rnum
20              [bnum]
21                     Perform test of hash map.
22              tcutest tree [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum
23                     Perform test of ordered tree.
24              tcutest  mdb  [-rd]  [-tr]  [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum
25              [bnum]
26                     Perform test of on-memory hash database.
27              tcutest ndb [-rd] [-tr] [-rnd] [-dk|-dc|-dai|-dad|-dpr] rnum
28                     Perform test of on-memory tree database.
29              tcutest misc rnum
30                     Perform test of miscellaneous routines.
31              tcutest wicked rnum
32                     Perform updating operations of list and map  selected  at
33                     random.
34
35       Options feature the following.
36
37              -rd : perform the reading test also.
38              -tr : perform the iterator test also.
39              -rnd : select keys at random.
40              -dk : use the function `tcxxxputkeep' instead of `tcxxxput'.
41              -dc : use the function `tcxxxputcat' instead of `tcxxxput'.
42              -dai : use the function `tcxxxaddint' instead of `tcxxxput'.
43              -dad : use the function `tcxxxadddouble' instead of `tcxxxput'.
44              -dpr : use the function `tcxxxputproc' instead of `tcxxxput'.
45
46       This command returns 0 on success, another on failure.
47
48

SEE ALSO

50       tcumttest(1), tcucodec(1), tcutil(3), tokyocabinet(3)
51
52
53
54Man Page                          2009-09-04                        TCUTEST(1)
Impressum