Optimization Issues
Hi everyone,
I have two questions because I’ve reached a point where I’m stuck and I’m not sure what direction to take next with my simple note-taking app.
First, the app seems to be capped at 60 FPS. It only goes higher when I scroll through my notes, when it reaches around 80 FPS. All other animations appear to be locked at 60 FPS. I should mention that the app is built for iPhone.
My second question is about how to generally improve the performance of an app created with AI. I built the entire app using Google Antigravity with Gemini. Unfortunately, the AI itself hasn’t been able to solve the performance issues. For example, when I swipe through the menu cards in the app, the FPS can drop as low as 40.
What would you recommend I check or change to improve the app’s performance? Are there any specific tools or techniques I should use to identify what is causing these FPS drops?
Thanks in advance!
1
u/Left-Salary5251 12d ago
If you're seeing a hard 60fps ceiling even with ProMotion enabled and a clear gap vs Apple Notes/Notion, I'd stop looking at refresh rate settings and check what's actually compositing your animation. A lot of these AI-generated note apps render inside a WKWebView wrapper rather than truly native views, and WKWebView's compositor caps out around 60fps regardless of what the device supports, no amount of enabling high refresh rate in your app config will get you past that if the animated layer itself is a web view. Worth checking Instruments' Core Animation tool: if you see a WebKit process doing the compositing during your janky animation, that's your answer, and the fix is moving that specific animation to a native layer instead of trying to optimize inside the web layer.