EtheaDev / SVGIconImageList

Three engines to render SVG (Delphi Image32, Skia4Delphi, Direct2D wrapper) and four components to simplify use of SVG images (resize, fixedcolor, grayscale...)
Apache License 2.0
321 stars 93 forks source link

update the performance comparison #146

Closed luebbe closed 3 years ago

luebbe commented 3 years ago

Hi @carloBarazzetta, a while ago you made a performance comparison of the three engines on your PC. Since @pyscripter has improved the TSVG Engine a lot, it could be worthwile to repeat the test run on your PC. If you do this, I'll gladly update the README with the latest numbers.

carloBarazzetta commented 3 years ago

Done.

pyscripter commented 3 years ago

But for handling large and complex SVG files such as the cowboy.svg in the Demo\svg_examples directory (367 KBs), Direct2D or Cairo has a clear edge. Direct2D can optionally use GPU support (see below), which might help when you deal with large SVG files.

Not true any more. For even more complex files (>1Mb) TSvg beats the others in drawing speed hands-down.

Cairo though may offer better svg standards support and may be able to render more accurately certain complex svg's.

carloBarazzetta commented 3 years ago

Ok! Fixed.