1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-06 16:18:08 +03:00
nickel/benches/serialization.rs
2022-04-12 09:34:16 +02:00

15 lines
408 B
Rust

use criterion::{criterion_main, Criterion};
use nickel_lang_utilities::ncl_bench_group;
use pprof::criterion::{Output, PProfProfiler};
ncl_bench_group! {
name = benches;
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
{
name = "round_trip",
path = "serialization/main",
subtest = "input",
}
}
criterion_main!(benches);