mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
sendprop decoding
This commit is contained in:
parent
164f88a32a
commit
ff18680a02
25 changed files with 389 additions and 135 deletions
|
|
@ -5,7 +5,7 @@ extern crate test;
|
|||
use std::fs;
|
||||
|
||||
use test::Bencher;
|
||||
use tf_demo_parser::{Demo, Stream, DemoParser};
|
||||
use tf_demo_parser::{Demo, DemoParser, Stream};
|
||||
|
||||
fn bench_file(input_file: &str, b: &mut Bencher) {
|
||||
let file = fs::read(input_file).expect("Unable to read file");
|
||||
|
|
@ -26,4 +26,4 @@ fn bench_gully(b: &mut Bencher) {
|
|||
#[bench]
|
||||
fn bench_comp(b: &mut Bencher) {
|
||||
bench_file("data/comp.dem", b);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue