1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00

sendprop decoding

This commit is contained in:
Robin Appelman 2019-08-10 22:30:12 +02:00
commit ff18680a02
25 changed files with 389 additions and 135 deletions

View file

@ -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);
}
}