OF4 - performance issue makes it unusable for me

We were having trouble reproducing the performance issues that some people are seeing, but finally found a reliable way to reproduce it today and are testing a fix now.

All of the time was being spent in SwiftUI, not our code, which made it especially tricky to track down since there wasn’t anything we could add to our code to try to figure this out. It turned out to be the result of a rounding error, so it was very dependent on the screen size, screen content, system font, and scroll position. Thanks to someone sending in an anonymized copy of their database and the steps that were reproducing it for them, we figured out that we could reproduce it with that database when we set the app’s text size to be slightly larger than the default.

So we tracked down the problematic comparison, made sure it didn’t care about positioning differences within 1/100th of a point (which was causing it to render and re-render the same content over and over again for people who were affected), and this fix will be in the next update.

Thanks to everyone who sent in feedback to help us track this down!

P.S. — We tracked down a specific issue, but that doesn’t mean there aren’t more lurking out there that only crop up under certain circumstances. If you’re still seeing performance issues after our next update, please be sure to report them to us!

11 Likes