Increase inner iterations from 1000 to 2000 to reduce jitter

This commit is contained in:
J. Nick Koston
2026-03-16 23:40:18 -10:00
parent dd52c91290
commit 8e4091baa3
5 changed files with 5 additions and 5 deletions
@@ -8,7 +8,7 @@ namespace esphome::api::benchmarks {
// Inner iteration count to amortize CodSpeed instrumentation overhead.
// Without this, the ~60ns per-iteration valgrind start/stop cost dominates
// sub-microsecond benchmarks.
static constexpr int kInnerIterations = 1000;
static constexpr int kInnerIterations = 2000;
// --- HelloRequest decode (string + varint fields) ---