-
Notifications
You must be signed in to change notification settings - Fork 135
Considering using resvg-js instead of svg2png? #102
Copy link
Copy link
Open
Description
svg2png has not been maintained for a long time, have you considered using resvg-js instead of svg2png? resvg-js is almost the fastest and most compatible SVG library.
In some scenarios,resvg-js is even faster than sharp.
Benchmark
Running "resize width" suite...
resvg-js(Rust):
12 ops/s, ±22.66% | fastest 🚀
sharp:
9 ops/s, ±64.52% | 25% slower
skr-canvas(Rust):
7 ops/s, ±3.72% | 41.67% slower
svg2img(canvg and node-canvas):
6 ops/s, ±16.94% | slowest, 50% slowerReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
