This project has moved and is read-only. For the latest updates, please go here.

FileSvgReader performance

Topics: Converters and Runtime, SVG, SVG# and Parsing
Jul 2, 2014 at 3:11 PM
When I read a bigger SVG file (for example a map) the FileSvgReader.Read() method takes a relative long time depending on the map (2.5Mb - 7-8 sec).
It is no problem, but when I open the same SVG file in a browser like IE11 or Chrome, it is much faster (<1s) than my WPF application.

Is it possible to do some tricks to increase the performance of this component?

Thank you!
Oct 12, 2014 at 1:02 PM
Hello Spuriga,
WPF is really a slow libraries and it seems MS is not even investing more resource.

That said, I will be investigating ways to speed things up. The problem is, the internal
work project for which I created this library was a documentation for a design wiring,
which required one time conversion of all files for later viewing so speed was not a
major requirements.

Now there are a number of tools available for WPF application performance tuning and analysis
and I will try to see if there could be any significant improvements. Please share any tuning
improvements you are able to achieve.

Best regards,