~ubuntu-branches/ubuntu/quantal/kyotocabinet/quantal

« back to all changes in this revision

Viewing changes to man/kclangctest.1

  • Committer: Package Import Robot
  • Author(s): Shawn Landden
  • Date: 2012-06-07 16:12:07 UTC
  • Revision ID: package-import@ubuntu.com-20120607161207-prbj5blqgzzfl8of
Tags: upstream-1.2.76
ImportĀ upstreamĀ versionĀ 1.2.76

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "KCLANGCTEST" 1 "2012-05-24" "Man Page" "Kyoto Cabinet"
 
2
 
 
3
.SH NAME
 
4
kclangctest \- command line interface to test the C language binding
 
5
 
 
6
.SH DESCRIPTION
 
7
.PP
 
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.
 
9
.PP
 
10
.RS
 
11
.br
 
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
 
13
.RS
 
14
Performs in\-order tests.
 
15
.RE
 
16
.br
 
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
 
18
.RS
 
19
Performs indexing operations.
 
20
.RE
 
21
.br
 
22
\fBkclangctest map \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fR[\fB\-bnum \fInum\fB\fR]\fB \fIrnum\fB\fR
 
23
.RS
 
24
Performs test of memory\-saving hash map.
 
25
.RE
 
26
.br
 
27
\fBkclangctest list \fR[\fB\-rnd\fR]\fB \fR[\fB\-etc\fR]\fB \fIrnum\fB\fR
 
28
.RS
 
29
Performs test of memory\-saving array list.
 
30
.RE
 
31
.RE
 
32
.PP
 
33
Options feature the following.
 
34
.PP
 
35
.RS
 
36
\fB\-rnd\fR : performs random test.
 
37
.br
 
38
\fB\-etc\fR : performs miscellaneous operations.
 
39
.br
 
40
\fB\-tran\fR : performs transaction.
 
41
.br
 
42
\fB\-oat\fR : opens the database with the auto transaction option.
 
43
.br
 
44
\fB\-oas\fR : opens the database with the auto synchronization option.
 
45
.br
 
46
\fB\-onl\fR : opens the database with the no locking option.
 
47
.br
 
48
\fB\-otl\fR : opens the database with the try locking option.
 
49
.br
 
50
\fB\-onr\fR : opens the database with the no auto repair option.
 
51
.br
 
52
\fB\-bnum \fInum\fR\fR : specifies the number of buckets of the hash table.
 
53
.br
 
54
.RE
 
55
.PP
 
56
This command returns 0 on success, another on failure.
 
57
 
 
58
.SH SEE ALSO
 
59
.PP
 
60
.BR kcpolymgr (1),
 
61
.BR kcpolytest (1)