1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-19 17:36:50 +00:00
physis/benches/benchmark.rs
2024-04-20 13:18:03 -04:00

11 lines
311 B
Rust
Executable file

// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
use brunch::Bench;
use physis::index::IndexFile;
fn bench_calculate_hash() {
IndexFile::calculate_hash("exd/root.exl");
}
brunch::benches!(Bench::new("hash c alc").run(bench_calculate_hash),);