From b01f6d1b3635320c14820dd8eaedff0f2d215412 Mon Sep 17 00:00:00 2001 From: Matteo Bigoi <1781140+crisidev@users.noreply.github.com> Date: Fri, 11 Mar 2022 13:10:31 +0000 Subject: [PATCH] Try to play a little with benchmark params to increase reliability by decreasing contention (#1247) --- .../examples/pokemon_service/tests/benchmark.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust-runtime/aws-smithy-http-server/examples/pokemon_service/tests/benchmark.rs b/rust-runtime/aws-smithy-http-server/examples/pokemon_service/tests/benchmark.rs index d9139d9a9..e812825fd 100644 --- a/rust-runtime/aws-smithy-http-server/examples/pokemon_service/tests/benchmark.rs +++ b/rust-runtime/aws-smithy-http-server/examples/pokemon_service/tests/benchmark.rs @@ -37,9 +37,9 @@ async fn benchmark() -> Result<(), Box> { // Run a single benchmark with 8 threads and 64 connections for 60 seconds. let benches = vec![BenchmarkBuilder::default() - .duration(Duration::from_secs(60)) - .threads(8) - .connections(64) + .duration(Duration::from_secs(90)) + .threads(2) + .connections(32) .build()?]; wrk.bench(&benches)?; -- GitLab