mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
rename data folder
This commit is contained in:
parent
5ea5983a74
commit
67a4ca5744
32 changed files with 19 additions and 19 deletions
|
|
@ -50,5 +50,5 @@ fn bench_all(input_file: &str, b: &mut Bencher) {
|
|||
|
||||
#[bench]
|
||||
fn all_test_gully(b: &mut Bencher) {
|
||||
bench_all("data/gully.dem", b);
|
||||
bench_all("test_data/gully.dem", b);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,10 +20,10 @@ fn bench_file(input_file: &str, b: &mut Bencher) {
|
|||
|
||||
#[bench]
|
||||
fn bench_gully(b: &mut Bencher) {
|
||||
bench_file("data/gully.dem", b);
|
||||
bench_file("test_data/gully.dem", b);
|
||||
}
|
||||
|
||||
#[bench]
|
||||
fn bench_comp(b: &mut Bencher) {
|
||||
bench_file("data/comp.dem", b);
|
||||
bench_file("test_data/comp.dem", b);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ impl MessageHandler for AllMessages {
|
|||
}
|
||||
|
||||
fn bench_all() {
|
||||
let file = fs::read("data/gully.dem").expect("Unable to read file");
|
||||
let file = fs::read("test_data/gully.dem").expect("Unable to read file");
|
||||
let demo = Demo::new(&file);
|
||||
let stream = demo.get_stream();
|
||||
black_box(
|
||||
|
|
|
|||
|
|
@ -57,5 +57,5 @@ fn flatten_bench(input_file: &str, b: &mut Bencher) {
|
|||
|
||||
#[bench]
|
||||
fn sendprop_test_gully(b: &mut Bencher) {
|
||||
flatten_bench("data/gully.dem", b);
|
||||
flatten_bench("test_data/gully.dem", b);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue