LAPUTEST(1)

NAME
laputest - test cases of the simple API

DESCRIPTION

The command `laputest' is a utility for facility test and performance test of the simple API. This command is used in the following format. `path' specifies the path of a database directory. `rnum' specifies the number of iterations.

    laputest write [-tl] [-td|-tb|-tt] [-er num] [-et num] [-iu num] [-ic num] [-xnt] [-nl|-nb] [-la num] [-en] path rnum
        Store records with random texts.
    laputest read [-nl|-nb] [-la num] [-lm num] [-en] [-sm|-sp|-ss] path rnum
        Search for records with random texts.
    laputest wicked [-tl] [-td|-tb|-tt] [-er num] [-et num] [-iu num] [-ic num] [-nl|-nb] [-la num] [-en] path rnum
        Perform updating operations selected at random.

Options feature the following.

    -tl : enable the option `JDBTLARGE'.
    -td : enable the option `JDBTDEFLATE'.
    -tb : enable the option `JDBTBZIP'.
    -tt : enable the option `JDBTTCBS'.
    -er num : specify the expected number of records.
    -et num : specify the expected number of tokens.
    -iu num : specify the unit size of each index file.
    -ic num : specify the capacity size of the token cache.
    -xnt : disable the text database.
    -nl : enable the option `IDBNOLCK'.
    -nb : enable the option `IDBLCKNB'.
    -la num : specify the average length of each records.
    -lm num : specify the minimum length of each records.
    -en : use English-like text.
    -sm : use the substring matching mode.
    -sp : use the prefix matching mode.
    -ss : use the suffix matching mode.

This command returns 0 on success, another on failure.

SEE ALSO

lapumgr(1), laputa(3)