Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dptest(1) [debian man page]

DPTEST(1)						      Quick Database Manager							 DPTEST(1)

NAME
dptest - test cases for QDBM Depot SYNOPSIS
dptest write [-s] name rnum bnum dptest read [-wb] name dptest rcat [-c] name rnum bnum pnum align dptest combo name dptest wicked [-c] name rnum DESCRIPTION
The command `dptest' is a utility for facility test and performance test. Check a database generated by the command or measure the execu- tion time of the command. This command is used in the following format. `name' specifies a database name. `rnum' specifies the number of the records. `bnum' specifies the number of the elements of the bucket array. `pnum' specifies the number of patterns of the keys. `align' specifies the basic size of alignment. `fbpsiz' specifies the size of the free block pool. dptest write [-s] name rnum bnum Store records with keys of 8 bytes. They change as `00000001', `00000002'... dptest read [-wb] name Retrieve all records of the database above. dptest rcat [-c] name rnum bnum pnum align fbpsiz Store records with partway duplicated keys using concatenate mode. dptest combo name Perform combination test of various operations. dptest wicked [-c] name rnum Perform updating operations selected at random. Options feature the following. -s : make the file sparse. -wb : use the function `dpgetwb' instead of the function `dpget'. -c : perform comparison test with map of Cabin. This command returns 0 on success, another on failure. The environment variable `QDBMDBGFD' specifies the file descriptor to output the history of updating the variable `dpecode'. SEE ALSO
qdbm(3), depot(3) AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>. Man Page 2005-06-01 DPTEST(1)

Check Out this Related Man Page

TCUTEST(1)							   Tokyo Cabinet							TCUTEST(1)

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) Man Page 2011-02-12 TCUTEST(1)
Man Page