Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.15 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.15 KB

About

wxTestSVG2 compares appearance and performance of NanoSVG and LunaSVG, when used as a rasterization tool for wxBitmapBundle.

wxTestSVG2 Screenshot

The value of #define WXSVGTEST2_BENCH_FULL (in svgbench.cpp) affects what is benchmarked: 0 means that the benchmark will include only wxBitmapBundle::ToBitmap() times while non-zero means the benchmark will also include time needed for creating wxBitmapBundle from an in-memory SVG.

Surprisingly, LunaSVG seems consistently noticeably faster when using on popular icon sets (Tango, Flat Color, Fluent UI, or Material Design; bundled in the SVG folder) when testing at resolutions expected for GUI icons, regardless of WXSVGTEST2_BENCH_FULL value.

Tested only 64-bit release build on Windows with MSVS v17.8.5 and GCC 13.2.

Build Requirements

  • CMake v3.24 or newer.
  • wxWidgets v3.2.0 or newer.
  • LunaSVG is included in the repo (physically, not as a GIT submodule).

Licence

wxWidgets licence