stream-chat-swift icon indicating copy to clipboard operation
stream-chat-swift copied to clipboard

[WIP] Add a static benchmark for xcmetrics

Open testableapple opened this issue 11 months ago โ€ข 1 comments

๐Ÿ”— 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)

testableapple avatar Mar 07 '24 15:03 testableapple

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% ๐Ÿ”ฝ ๐ŸŸข

Stream-SDK-Bot avatar Mar 08 '24 13:03 Stream-SDK-Bot