mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 03:16:37 +00:00
Increase inner iterations from 1000 to 2000 to reduce jitter
This commit is contained in:
@@ -7,7 +7,7 @@ namespace esphome::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;
|
||||
|
||||
// --- random_float() ---
|
||||
// Ported from ol.yaml:148 "Random Float Benchmark"
|
||||
|
||||
Reference in New Issue
Block a user