stream-chat-swift
stream-chat-swift copied to clipboard
[WIP] Add a static benchmark for xcmetrics
๐ Issue Links
Provide all Jira tickets and/or Github issues related to this PR, if applicable.
๐ฏ Goal
Describe why we are making this change.
๐ Summary
Provide bullet points with the most important changes in the codebase.
๐ Implementation
Provide a detailed description of the implementation and explain your decisions if you find them relevant.
๐จ Showcase
Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.
Before | After |
---|---|
img | img |
๐งช Manual Testing Notes
Explain how this change can be tested manually, if applicable.
โ๏ธ Contributor Checklist
- [ ] I have signed the Stream CLA (required)
- [ ] This change follows zero โ ๏ธ policy (required)
- [x] This change should be manually QAed
- [ ] Changelog is updated with client-facing changes
- [ ] New code is covered by unit tests
- [ ] Comparison screenshots added for visual changes
- [ ] Affected documentation updated (docusaurus, tutorial, CMS)
๐ Meme
Provide a funny gif or image that relates to your work on this pull request. (Optional)
StreamChat XCMetrics
target |
metric |
benchmark |
branch |
performance |
status |
---|---|---|---|---|---|
MessageList | Hitches total duration | 8.3 ms | 5.01 ms | 39.64% ๐ผ | ๐ข |
Duration | 2.6 s | 2.55 s | 1.92% ๐ผ | ๐ข | |
Hitch time ratio | 3.3 ms per s | 1.97 ms per s | 40.3% ๐ผ | ๐ข | |
Frame rate | 79 fps | 78.53 fps | 0.59% ๐ผ | ๐ข | |
Number of hitches | 0.8 | 0.6 | 25.0% ๐ผ | ๐ข | |
ChannelList | Hitches total duration | 10.8 ms | 9.18 ms | 15.0% ๐ผ | ๐ข |
Duration | 2.6 s | 2.54 s | 2.31% ๐ผ | ๐ข | |
Hitch time ratio | 4.2 ms per s | 3.63 ms per s | 13.57% ๐ผ | ๐ข | |
Frame rate | 76 fps | 75.02 fps | 0.68% ๐ผ | ๐ข | |
Number of hitches | 0.8 | 0.8 | 0.0% ๐ฝ | ๐ข |