mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 10:14:10 +02:00
wip
This commit is contained in:
parent
9da2d2230a
commit
8a88e452ea
13 changed files with 291 additions and 284 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue