planetary-social / nos

nos.social social media for all of us, using nostr
https://nos.social
Mozilla Public License 2.0
123 stars 14 forks source link

Add CI tests for scroll performance #1459

Open mplorentz opened 2 months ago

mplorentz commented 2 months ago

Our scroll performance often regresses. Let's build some automated tests to detect this before we merge the PRs that make things worse.

We have a test for scroll performance named testScrollingAnimationPerformance(), but we need to set it up to use consistent data across runs, and we need to figure out how to get it running properly on CI (to work around this problem). We probably need a different performance testing framework. Maybe the new Swift Testing library announced this summer could help?

mplorentz commented 1 month ago

Maybe Xcode Cloud does performance tests?

setch-l commented 1 month ago

@mplorentz - I spoke with Bryan about this and it might be good for the two of you to sync to talk about possible solutions.