Skip to main content

benchmark

Function benchmark 

Source
pub fn benchmark(args: &BenchmarkArgs) -> Result<(), Box<dyn Error>>
Expand description

Run compression benchmarks.

ยงErrors

Returns an error if the data pattern or algorithm name is not recognised, or if the underlying trueno_zram_core benchmark fails.