benchmark

command
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 25 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=.artifacts/launchnet/configs/

or you can run benchmark with

./scripts/bench.sh
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.

    -a adminapiurl (may be specified multiple times for roundrobin requests)
            API url for requests (default - http://localhost:19001/admin-api/rpc).
            
    -p publicapiurl (may be specified multiple times for roundrobin requests)
            API url for requests (default - http://localhost:19101/api/rpc).

    -l loglevel
            Log level (default - info).

    -s savemembers
            Saves members to file .artifacts/bench-members/members.txt.
            If false, file wont be updated. Default is false.

    -m usemembers
            Use members from file .artifacts/bench-members/members.txt.
            If false, wright info about created members in this file. Default is false. 
    --members-file
            Path to file for saving members data
    -b nocheckbalance
            If true, don't check balance at the start/end of transfers. Default is false. 
    -t scenarioname
            Name of scenario. Default scenario is transfer scenario.
            You can choose "createMember" for create member scenario.
    --discovery-nodes-logs-dir
            Launchnet logs dir for checking errors

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