Skip to content

Commit

Permalink
fix name of benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurk committed Dec 26, 2024
1 parent fb0e020 commit 112fce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/throughput.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const LONG_RANDOM: &str = include_str!("./random_token.yamd");
fn long_valid(c: &mut Criterion) {
let mut group = c.benchmark_group("throughput");
group.throughput(Throughput::Bytes(LONG_VALID_YAMD.len() as u64));
group.bench_function("~344kb lines of YAMD written by humman", |b| {
group.bench_function("~344kb of YAMD written by humman", |b| {
b.iter(|| deserialize(black_box(LONG_VALID_YAMD)))
});
group.finish();
Expand Down

0 comments on commit 112fce9

Please sign in to comment.