mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
iai bench
This commit is contained in:
parent
e8143720a5
commit
0d99a9510b
6 changed files with 51 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ impl MessageHandler for SendPropAnalyser {
|
|||
|
||||
fn flatten_bench(input_file: &str, b: &mut Bencher) {
|
||||
let file = fs::read(input_file).expect("Unable to read file");
|
||||
let demo = Demo::new(file);
|
||||
let demo = Demo::new(&file);
|
||||
let stream = demo.get_stream();
|
||||
let (_, send_tables) = DemoParser::new_with_analyser(stream.clone(), SendPropAnalyser)
|
||||
.parse()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue