aboutsummaryrefslogtreecommitdiff
path: root/benches
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2025-03-21 20:36:45 -0700
committerJack O'Connor <[email protected]>2025-03-21 20:45:21 -0700
commit83a60d9da6a44b719e258926e568c203d3b4dd36 (patch)
treede08cfa775a50b861631471b0bf319aedd7b4678 /benches
parent657c312945eb611ee149b9e331d8db93cad95c58 (diff)
macOS-latest runners are now ARM CPUs
Diffstat (limited to 'benches')
-rw-r--r--benches/bench.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/benches/bench.rs b/benches/bench.rs
index 94c4bb2..defdb12 100644
--- a/benches/bench.rs
+++ b/benches/bench.rs
@@ -144,13 +144,13 @@ fn bench_many_chunks_avx512(b: &mut Bencher) {
}
#[bench]
-#[cfg(feature = "neon")]
+#[cfg(blake3_neon)]
fn bench_many_chunks_neon(b: &mut Bencher) {
bench_many_chunks_fn(b, Platform::neon().unwrap());
}
#[bench]
-#[cfg(feature = "wasm32_simd")]
+#[cfg(blake3_wasm32_simd)]
fn bench_many_chunks_wasm(b: &mut Bencher) {
bench_many_chunks_fn(b, Platform::wasm32_simd().unwrap());
}
@@ -215,13 +215,13 @@ fn bench_many_parents_avx512(b: &mut Bencher) {
}
#[bench]
-#[cfg(feature = "neon")]
+#[cfg(blake3_neon)]
fn bench_many_parents_neon(b: &mut Bencher) {
bench_many_parents_fn(b, Platform::neon().unwrap());
}
#[bench]
-#[cfg(feature = "wasm32_simd")]
+#[cfg(blake3_wasm32_simd)]
fn bench_many_parents_wasm(b: &mut Bencher) {
bench_many_parents_fn(b, Platform::wasm32_simd().unwrap());
}