blob: 9bfe9c4b3a2c7328aa5c17d2ac6da8f0e05b6d4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
use criterion::{criterion_group, criterion_main, Criterion};
use opengl_registry::Registry;
fn bench_registry(crit: &mut Criterion)
{
crit.bench_function("retrieve registry from included XML file", |bencher| {
bencher.iter(Registry::retrieve)
});
}
criterion_group!(benches, bench_registry);
criterion_main!(benches);
|