logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

crtest - test cases for QDBM Curia

Author

       QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.

Man Page                                           2005-06-01                                          CRTEST(1)

Description

       The  command `crtest' is a utility for facility test and performance test.  Check a database generated by
       the command or measure the execution time of the command.  This command is used in the following  format.
       `name'  specifies  a database name.  `rnum' specifies the number of records.  `bnum' specifies the number
       of elements of a bucket array.  `dnum' specifies the number of division of a database.  `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.

       crtestwrite[-s][-lob]namernumbnumdnum
              Store records with keys of 8 bytes.  They change as `00000001', `00000002'...

       crtestread[-wb][-lob]name
              Retrieve all records of the database above.

       crtestrcat[-c]namernumbnumdnumpnumalignfbpsiz
              Store records with partway duplicated keys using concatenate mode.

       crtestcomboname
              Perform combination test of various operations.

       crtestwicked[-c]namernum
              Perform updating operations selected at random.

       Options feature the following.

              -s : make the files sparse.
              -lob : handle large objects.
              -wb : use the function `crgetwb' instead of the function `crget'.
              -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'.

Name

       crtest - test cases for QDBM Curia

See Also

qdbm(3), curia(3)

Synopsis

crtestwrite [-s] [-lob] namernumbnumdnumcrtestread [-wb] [-lob] namecrtestrcat [-c] namernumbnumdnumpnumaligncrtestcombonamecrtestwicked [-c] namernum

See Also