Man page - tcutest(1)
Packages contains this manual
apt-get install tokyocabinet-bin
Manual
TCUTEST
NAMEDESCRIPTION
SEE ALSO
NAME
tcutest - test cases of the utility API
DESCRIPTION
The command â tcutest â is a utility for facility test and performance test. This command is used in the following format. â rnum â specifies the number of iterations. â anum â specifies the initial number of elements of array. â bnum â specifies the number of buckets.
tcutest xstr rnum
Perform test of extensible string.
tcutest list [ -rd ] rnum [ anum ]
Perform test of array list.
tcutest map [ -rd ] [ -tr ] [ -rnd ] [ -dk | -dc | -dai | -dad | -dpr ] rnum [ bnum ]
Perform test of hash map.
tcutest tree [ -rd ] [ -tr ] [ -rnd ] [ -dk | -dc | -dai | -dad | -dpr ] rnum
Perform test of ordered tree.
tcutest mdb [ -rd ] [ -tr ] [ -rnd ] [ -dk | -dc | -dai | -dad | -dpr ] rnum [ bnum ]
Perform test of on-memory hash database.
tcutest ndb [ -rd ] [ -tr ] [ -rnd ] [ -dk | -dc | -dai | -dad | -dpr ] rnum
Perform test of on-memory tree database.
tcutest misc rnum
Perform test of miscellaneous routines.
tcutest wicked rnum
Perform updating operations of list and map selected at random.
Options feature the following.
-rd
:
perform the reading test also.
-tr
: perform the iterator test also.
-rnd
: select keys at random.
-dk
: use the function âtcxxxputkeepâ
instead of âtcxxxputâ.
-dc
: use the function âtcxxxputcatâ instead
of âtcxxxputâ.
-dai
: use the function âtcxxxaddintâ
instead of âtcxxxputâ.
-dad
: use the function âtcxxxadddoubleâ
instead of âtcxxxputâ.
-dpr
: use the function âtcxxxputprocâ
instead of âtcxxxputâ.
This command returns 0 on success, another on failure.
SEE ALSO
tcumttest (1), tcucodec (1), tcutil (3), tokyocabinet (3)