CoreOffice / XMLCoder

Easy XML parsing using Codable protocols in Swift
https://coreoffice.github.io/XMLCoder/
MIT License
795 stars 107 forks source link

Low performance - Speed Up possibilities #206

Open nilsnilsnils opened 3 years ago

nilsnilsnils commented 3 years ago

Hi,

I have a some simple XML (no namespace features etc) of around 1MB. But it takes around 0.7s to decode a single XML. This is too long for me.

Is there a way to speed up the decoding process. Maybe by deactivating some decoding features etc. ?

I tried to use concurrency but it's slower than decoding xml in a row

At the end I want to thank you for your great work 👍

mickeyl commented 3 years ago

Have you run it through instruments to find out any potential hotspots?