Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
15
vendor/ruvector/crates/prime-radiant/benches/attention_bench.rs
vendored
Normal file
15
vendor/ruvector/crates/prime-radiant/benches/attention_bench.rs
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
//! Attention-weighted coherence benchmarks
|
||||
|
||||
use criterion::{black_box, criterion_group, criterion_main, Criterion};
|
||||
|
||||
fn attention_benchmark(c: &mut Criterion) {
|
||||
let mut group = c.benchmark_group("attention");
|
||||
|
||||
// Placeholder benchmark - requires attention feature
|
||||
group.bench_function("placeholder", |b| b.iter(|| black_box(42)));
|
||||
|
||||
group.finish();
|
||||
}
|
||||
|
||||
criterion_group!(benches, attention_benchmark);
|
||||
criterion_main!(benches);
|
||||
Reference in New Issue
Block a user