JohnSundell / JohnSundell/ImagineEngine

XCTest Performance Testing

Open
#98 2 comments 0 reactions 0 assignees View on GitHub
ci discussion improvement
Dominant language
Swift
Stars
1.8k
Forks
104
PR merge metrics
No merged PRs in 30d

Description

We should investigate if we can use XCTest's performance testing features to implement automatic performance tests on CI. This to prevent regressions in high performance-sensitive code when adding new features.

**APIs that would be good to performance test:**

- [ ] `Timeline`, since it's the backbone of all updates, including actions & animations.
- [ ] `Action`, since it is the base class for all actions.
- [ ] `TextureManager`, since it loads all textures, which is a very common operation.

**Questions to discuss**

- [ ] Can we run these type of performance tests on CI without causing flakiness?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.