Skip to content

Commit

Permalink
test: change update multiple torrent benchmark sample size to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
mickvandijke committed Oct 25, 2023
1 parent 221776f commit 2f4ba9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/update_torrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const PEER: Peer = Peer {

// Define a vector of 20 different info hashes
// Create an info hash with a different value for each byte
static INFO_HASHES: Lazy<Vec<InfoHash>> = Lazy::new(|| (0..20).map(|i| InfoHash([i; 20])).collect());
static INFO_HASHES: Lazy<Vec<InfoHash>> = Lazy::new(|| (0..100).map(|i| InfoHash([i; 20])).collect());

#[allow(clippy::missing_panics_doc)]
pub fn update_single_torrent_benchmark(c: &mut Criterion) {
Expand Down

0 comments on commit 2f4ba9c

Please sign in to comment.