benchmark

Function benchmark 

Source
pub fn benchmark(path: PathBuf) -> Result<()>
Expand description

Benchmark loading and parsing performance.

Measures time taken for ZIP archive opening, XML parsing, and statistics calculation. Useful for performance profiling and identifying bottlenecks.

§Arguments

  • path - Path to the 3MF file

§Errors

Returns an error if the file cannot be opened or parsed.