mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 03:37:47 +00:00
15 lines
326 B
Rust
15 lines
326 B
Rust
|
// 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),
|
||
|
);
|