Skip to content

Commit 162cda6

Browse files
authored
fix: state pressure benchmark test (#3203)
fix: increase default CountPerSpammer to prevent empty measurement window With 2 spammers at 200 tx/s each, the previous default of 2000 txs per spammer meant all 4000 txs could complete during the 3s init sleep + warmup phase, leaving the measurement window with only empty blocks. Increasing to 5000 (10000 total) ensures enough txs remain after warmup.
1 parent 47ed4ed commit 162cda6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/benchmark/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func newBenchConfig(serviceName string) benchConfig {
3838
GasLimit: envOrDefault("BENCH_GAS_LIMIT", ""),
3939
ScrapeInterval: envOrDefault("BENCH_SCRAPE_INTERVAL", "1s"),
4040
NumSpammers: envInt("BENCH_NUM_SPAMMERS", 2),
41-
CountPerSpammer: envInt("BENCH_COUNT_PER_SPAMMER", 2000),
41+
CountPerSpammer: envInt("BENCH_COUNT_PER_SPAMMER", 5000),
4242
Throughput: envInt("BENCH_THROUGHPUT", 200),
4343
WarmupTxs: envInt("BENCH_WARMUP_TXS", 200),
4444
GasUnitsToBurn: envInt("BENCH_GAS_UNITS_TO_BURN", 1_000_000),

0 commit comments

Comments
 (0)