Sha256: dd2803259a6784c256304e676bbce05de233e4c8451ac85863787213343e9be7
Contents?: true
Size: 409 Bytes
Versions: 38
Compression:
Stored size: 409 Bytes
Contents
use criterion::{black_box, criterion_group, criterion_main, Criterion}; mod shared; fn bench(c: &mut Criterion) { shared::for_all_dispatches(&mut c.benchmark_group("Dispatch::get_ref"), |b| { b.iter(|| { tracing::dispatcher::get_default(|current| { black_box(¤t); }) }) }); } criterion_group!(benches, bench); criterion_main!(benches);
Version data entries
38 entries across 38 versions & 1 rubygems