Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Benchmark Comparison to Python Alternative #10

Open
jboarman opened this issue Apr 10, 2023 · 0 comments
Open

Create Benchmark Comparison to Python Alternative #10

jboarman opened this issue Apr 10, 2023 · 0 comments

Comments

@jboarman
Copy link
Member

jboarman commented Apr 10, 2023

Benchmark Python Alternatives

resvg's existing benchmark offers a set of over 1,600 SVG files, each prepared with an associated PNG baseline for testing standard's compatibility. This will provide us with a reference dataset for establishing our own metrics for comparing to alternative Python libraries against the full set of test images.

Tests should be performed by converting SVGs to both PNGs and PDFs (as separate timing-level benchmarks).

Alternative Methods to Include in Benchmark

  • CairoSVG
  • Svglib
  • Inkscape

Possible Metrics

  • Python Dependency Count
  • External Dependencies (list of named external dependencies)
  • Size of Python Package (including its Python dependencies)
  • Size of External Depenencies (cairo, ghostscript, inkscape, etc)
  • Speed (total time, lower number is better)
  • Memory Usage
  • Alpha Channel Support
  • Filters Support (see resvg filters support and this example that tests the turbulence filter)
  • SVG-to-PNG Compatibility (based on conformance to PNG baseline image)
edgarrmondragon added a commit that referenced this issue Apr 15, 2023
chore: Run `cargo fmt` and `cargo clippy` in CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant