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

vltest - test cases for QDBM Villa

Author

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

Man Page                                           2005-06-01                                          VLTEST(1)

Description

       The  command `vltest' 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 the records.

       vltestwrite[-int][-cz|-cy|-cx][-tunelrecmaxnidxmaxlcnumncnum][-fbpnum]namernum
              Store records with keys of 8 bytes. They change as `00000001', `00000002'...

       vltestread[-int][-vc]name
              Retrieve all records of the database above.

       vltestrdup[-int][-cz|-cy|-cx][-cc][-tunelrecmaxnidxmaxlcnumncnum][-fbpnum]namernumpnum
              Store records with partway duplicated keys using duplicate mode.

       vltestcombo[-cz|-cy|-cx]name
              Perform combination test of various operations.

       vltestwicked[-c][-cz|-cy|-cx]namernum
              Perform updating operations selected at random.

       Options feature the following.

              -int : treat keys and values as objects of `int', and use comparing function `VL_CMPINT'.
              -cz : compress leaves in the database with ZLIB.
              -cy : compress leaves in the database with LZO.
              -cx : compress leaves in the database with BZIP2.
              -vc : refer to volatile cache.
              -cc : select `VL_DCAT' or `VL_DDUP' at random.
              -tunelrecmaxnidxmaxlcnumncnum : set tuning parameters.
              -fbpnum : set the size of the free block pool.
              -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

       vltest - test cases for QDBM Villa

See Also

qdbm(3), villa(3)

Synopsis

vltestwrite [-int] [-cz|-cy|-cx] [-tune lrecmaxnidxmaxlcnumncnum] [-fbp num] namernumvltestread [-int] namevltestrdup [-int] [-cz|-cy|-cx] [-cc] [-tune lrecmaxnidxmaxlcnumncnum] [-fbp num] namernumpnumvltestcombo [-cz|-cy|-cx] namevltestwicked [-c] [-cz|-cy|-cx] namernum

See Also