Skip to content

Commit

Permalink
Update benches
Browse files Browse the repository at this point in the history
  • Loading branch information
Bajix committed Mar 27, 2023
1 parent c34b2ca commit a855423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use redis_swapplex::{get, ConnectionManagerContext, EnvConnection};
use tokio::runtime::Builder;

fn bench_redis(c: &mut Criterion) {
let rt = Builder::new_multi_thread()
let rt = Builder::new_current_thread()
.enable_io()
.build()
.expect("Unable to create Tokio runtime");
Expand Down Expand Up @@ -52,7 +52,7 @@ fn bench_redis(c: &mut Criterion) {
});
});

for n in 0..=9 {
for n in 4..10 {
let batch_size: u64 = 1 << n;

bench_multiplexed.bench_with_input(
Expand Down

0 comments on commit a855423

Please sign in to comment.