Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.02 KB

File metadata and controls

47 lines (33 loc) · 1.02 KB

Reports, DB, and Admin

Reports

Contender can generate HTML reports highlighting your target chain's performance characteristics.

# latest run (opens in browser)
contender report

# include 2 previous runs
contender report -p 2

# explicit range (inclusive, run #203 and the 3 runs before that)
contender report -i 203 -p 3

Contender can also generate JSON reports -- useful for automated analysis/reporting. JSON reports contain all the raw data used to generate HTML reports. Just add the --format (-f) flag:

contender report -f json

Database ops

contender db export ./backup.db
contender db import ./backup.db
contender db reset
contender db drop

Admin conveniences

# derive accounts from a from_pool
contender admin accounts --from-pool "spammers" -n 100

# view the local seed
contender admin seed

# last run id
contender admin latest-run-id

# lookup a deployed contract address by name
contender admin contract-address --rpc-url http://localhost:8545 MyContract