This commit is contained in:
Robin Appelman 2021-08-23 22:49:26 +02:00
commit 8a88e452ea
13 changed files with 291 additions and 284 deletions

View file

@ -5,7 +5,7 @@ use tf_log_parser::{parse, RawEvent};
pub fn parse_benchmark(c: &mut Criterion) {
let input = read_to_string("test_data/log_2892242.log").unwrap();
c.bench_function("parse 2892242", |b| b.iter(|| parse(black_box(&input))));
c.bench_function("parse log 2892242", |b| b.iter(|| parse(black_box(&input))));
}
pub fn parse_raw(c: &mut Criterion) {