benchmark

command
v0.7.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

README

Benchmark

Usage

Build
make benchmark
Start insolard
./scripts/insolard/launchnet.sh -g
Start benchmark
./bin/benchmark -c=4 -r=25 -k=scripts/insolard/configs/root_member_keys.json
Options
    -c concurrency
            Number of concurrent users. Default is one. 

    -r repetitions
            Number of repetitions for one user. Default is one.

    -o output
            Path to output file (use - for STDOUT).

    -k rootmemberkeys
            Path to file with RootMember keys.

    -u apiurl (may be specified multiple times for roundrobin requests)
            API url for requests (default - http://localhost:19101/api).

    -l loglevel
            Log level (default - info).

    -s savemembers
            Saves members to file scripts/insolard/benchmark/members.txt.
            If false, file wont be updated. Default is false.

    -m usemembers
            Use members from file scripts/insolard/benchmark/members.txt.
            If false, wright info about created members in this file. Default is false. 

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL