Sha256: 4410ec73d277e7b54e9f306c00ff3b79a150d1832966b7fc29984c8e3ad8d57c
Contents?: true
Size: 396 Bytes
Versions: 38
Compression:
Stored size: 396 Bytes
Contents
use criterion::{criterion_group, criterion_main, Criterion}; use tracing::{span, Level}; mod shared; fn bench(c: &mut Criterion) { shared::for_all_dispatches(&mut c.benchmark_group("enter_span"), |b| { let span = span!(Level::TRACE, "span"); b.iter(|| { let _span = span.enter(); }) }); } criterion_group!(benches, bench); criterion_main!(benches);
Version data entries
38 entries across 38 versions & 1 rubygems