vexy-vsvg-benchmarks 2.4.2

Benchmarks for vexy-vsvg
Documentation

vexy-vsvg-benchmarks

Benchmarks to keep us honest about performance. We use criterion to measure throughput and latency.

What we measure

  • Parser: How fast we convert string to AST.
  • Optimization: How fast specific plugins run.
  • Stringifier: How fast we write the AST back to text.
  • End-to-End: The whole pipeline.

Running Benchmarks

cargo bench --package vexy-vsvg-benchmarks

Philosophy

We benchmark against ourselves to detect regressions. We also have a (separate) comparison tool to benchmark against SVGO, but this crate focuses on the internal Rust performance metrics.