From 3b159f5b0907ba8f46a6e85a41da015f2bc44624 Mon Sep 17 00:00:00 2001 From: chatton Date: Thu, 26 Mar 2026 12:30:12 +0000 Subject: [PATCH] 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. --- test/e2e/benchmark/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/benchmark/config.go b/test/e2e/benchmark/config.go index 8cb6df38f..8428a2114 100644 --- a/test/e2e/benchmark/config.go +++ b/test/e2e/benchmark/config.go @@ -38,7 +38,7 @@ func newBenchConfig(serviceName string) benchConfig { GasLimit: envOrDefault("BENCH_GAS_LIMIT", ""), ScrapeInterval: envOrDefault("BENCH_SCRAPE_INTERVAL", "1s"), NumSpammers: envInt("BENCH_NUM_SPAMMERS", 2), - CountPerSpammer: envInt("BENCH_COUNT_PER_SPAMMER", 2000), + CountPerSpammer: envInt("BENCH_COUNT_PER_SPAMMER", 5000), Throughput: envInt("BENCH_THROUGHPUT", 200), WarmupTxs: envInt("BENCH_WARMUP_TXS", 200), GasUnitsToBurn: envInt("BENCH_GAS_UNITS_TO_BURN", 1_000_000),