mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-03 10:14:10 +02:00
ahash
This commit is contained in:
parent
7bd667004b
commit
a27d1a8f6b
9 changed files with 25 additions and 22 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use criterion::{black_box, criterion_group, criterion_main, Criterion};
|
||||
use std::fs::read_to_string;
|
||||
use std::time::Duration;
|
||||
use tf_log_parser::{parse, GameEvent, RawEvent, LineSplit};
|
||||
use tf_log_parser::{parse, GameEvent, LineSplit, RawEvent};
|
||||
|
||||
pub fn parse_benchmark(c: &mut Criterion) {
|
||||
let input = read_to_string("test_data/log_2892242.log").unwrap();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use iai::black_box;
|
||||
use tf_log_parser::{LineSplit, parse, RawEvent};
|
||||
use tf_log_parser::{parse, LineSplit, RawEvent};
|
||||
|
||||
static LOG: &str = include_str!("../test_data/log_2892242.log");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue