1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

fix benches

This commit is contained in:
Robin Appelman 2019-12-25 23:39:38 +01:00
commit 8bd4eabae0
3 changed files with 10 additions and 5 deletions

View file

@ -13,7 +13,7 @@ fn bench_file(input_file: &str, b: &mut Bencher) {
let stream: Stream = demo.get_stream();
b.iter(|| {
let (_, state) = DemoParser::new(stream.clone()).unwrap();
let (_, state) = DemoParser::new(stream.clone()).parse().unwrap();
test::black_box(state);
})
}