1
.TH "KCLANGCTEST" 1 "2012-05-24" "Man Page" "Kyoto Cabinet"
4
kclangctest \- command line interface to test the C language binding
8
The command `\fBkclangctest\fR' is a utility for facility test and performance test of the C language binding. This command is used in the following format. `\fIpath\fR' specifies the path of a database file. `\fIrnum\fR' specifies the number of iterations.
12
\fBkclangctest order \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fR[\fB\-tran\fR]\fB \fR[\fB\-oat\fR|\fB\-onl\fR|\fB\-onl\fR|\fB\-otl\fR|\fB\-onr\fR]\fB \fIpath\fB \fIrnum\fB\fR
14
Performs in\-order tests.
17
\fBkclangctest index \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fR[\fB\-oat\fR|\fB\-onl\fR|\fB\-onl\fR|\fB\-otl\fR|\fB\-onr\fR]\fB \fIpath\fB \fIrnum\fB\fR
19
Performs indexing operations.
22
\fBkclangctest map \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fIrnum\fB\fR
24
Performs test of memory\-saving hash map.
27
\fBkclangctest list \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fIrnum\fB\fR
29
Performs test of memory\-saving array list.
33
Options feature the following.
36
\fB\-rnd\fR : performs random test.
38
\fB\-etc\fR : performs miscellaneous operations.
40
\fB\-tran\fR : performs transaction.
42
\fB\-oat\fR : opens the database with the auto transaction option.
44
\fB\-oas\fR : opens the database with the auto synchronization option.
46
\fB\-onl\fR : opens the database with the no locking option.
48
\fB\-otl\fR : opens the database with the try locking option.
50
\fB\-onr\fR : opens the database with the no auto repair option.
52
\fB\-bnum \fInum\fR\fR : specifies the number of buckets of the hash table.
56
This command returns 0 on success, another on failure.