Unverified Commit b01f6d1b authored by Matteo Bigoi's avatar Matteo Bigoi Committed by GitHub
Browse files

Try to play a little with benchmark params to increase reliability by decreasing contention (#1247)

parent 4afa8a3c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ async fn benchmark() -> Result<(), Box<dyn std::error::Error>> {

        // 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)?;