diff --git a/Benchmarks/Benchmarks/NIOPosixBenchmarks/Benchmarks.swift b/Benchmarks/Benchmarks/NIOPosixBenchmarks/Benchmarks.swift index ccc8365c5a6..ed178968cd2 100644 --- a/Benchmarks/Benchmarks/NIOPosixBenchmarks/Benchmarks.swift +++ b/Benchmarks/Benchmarks/NIOPosixBenchmarks/Benchmarks.swift @@ -31,7 +31,8 @@ let benchmarks = { metrics: defaultMetrics, scalingFactor: .mega, maxDuration: .seconds(10_000_000), - maxIterations: 5 + maxIterations: 5, + thresholds: [.mallocCountTotal: .init(absolute: [.p90: 50])] ) ) { benchmark in try runTCPEcho(