Later ,I modified the FitSwiftSDK with a port on GitHub on this site: https://github.com/leewaycn/fit-swift-sdk
after my change, the parsing time reduced to a shorter time as less than 3 second.
So, I hope your sdk maintainer can do this for us.
sencerely.
Hi Jewlite, this is still an incredibly long time. I fully parsed a 571k bytes fit in less than 0.1 seconds (iMac M3 with own parser). Suggestion is to look for a better public domain parser (mine isn't public).
We are not experiencing the same performance issues that you are experiencing. Even with your changes, three seconds is still three times longer than what we are seeing files of similar size.
What is the duration to decode a file if you do not add any message listeners to the decoder? That will help narrow things down. Also, is your code performing any calculations in the message listeners?
We did fix the issue in the message broadcaster that you identified. The fix is in version 21.184.00