Skip to content

Commit

Permalink
Problem: benchmark block stats is too long (crypto-org-chain#1668)
Browse files Browse the repository at this point in the history
Solution:
- detect chain idle faster
  • Loading branch information
yihuang authored Oct 31, 2024
1 parent 0f94930 commit b6063d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testground/benchmark/benchmark/stateless.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def do_run(
print("sent", len(txs), "txs")

# node quit when the chain is idle or halted for a while
detect_idle_halted(cfg["num_idle"], 20)
detect_idle_halted(cfg["num_idle"], 5)

with (home / "block_stats.log").open("w") as logfile:
dump_block_stats(logfile)
Expand Down

0 comments on commit b6063d4

Please sign in to comment.