Skip to content

Commit

Permalink
fixup! fixup! test: add globbing utility for testing Markdown as doct…
Browse files Browse the repository at this point in the history
…ests (#1649)
  • Loading branch information
MingweiSamuel committed Jan 16, 2025
1 parent 7c2e9a9 commit ecee9d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benches/benches/words_diamond.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ fn hash_code(s: &str) -> u32 {
.fold(0, |n, c| n.wrapping_mul(31).wrapping_add(c as u32))
}

fn hydroflow_diamond(c: &mut Criterion) {
fn dfir_rs_diamond(c: &mut Criterion) {
let _ = *WORDS;

c.bench_function(name_of!(hydroflow_diamond), |b| {
c.bench_function(name_of!(dfir_rs_diamond), |b| {
b.iter(|| {
let words = words();
let mut df = dfir_syntax! {
Expand Down Expand Up @@ -173,7 +173,7 @@ fn hydroflo2_diamond_iter_buffer_one(c: &mut Criterion) {

criterion_group!(
words_diamond,
hydroflow_diamond,
dfir_rs_diamond,
hydroflo2_diamond_forloop,
hydroflo2_diamond_iter_clone_chain,
hydroflo2_diamond_iter_clone_interleave,
Expand Down

0 comments on commit ecee9d6

Please sign in to comment.