Skip to content

Commit

Permalink
Remove benchmark tests for play_game function
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuSoysal authored Feb 16, 2024
1 parent 3142c9b commit 25c2de1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,4 @@ mod benchmarks {
});
}

#[bench]
fn bench_play_game_100(b: &mut Bencher) {
b.iter(|| std::hint::black_box(play_game(100)));
}

#[bench]
fn bench_play_game_1_000_000(b: &mut Bencher) {
b.iter(|| std::hint::black_box(play_game(1_000_000)));
}
}

0 comments on commit 25c2de1

Please sign in to comment.