Repository navigation
[Task 1/8] [No QA] Benchmark sending and receiving report messages - #107955
roryabraham merged 1 commit into
Conversation
Co-authored-by: Codex <noreply@openai.com>
|
@ikevin127 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Should i review this @chrispader? |
yea sure from my side. Not sure how C+ assignment is handled here. cc @roryabraham |
|
Okay, let's wait for Rory input |
roryabraham
left a comment
There was a problem hiding this comment.
NAB: I always like to wrap all tests in a file in a single top-level describe. At least I used to, when I would manually run tests in my IDE. Now that I literally never do that (because of AI), it's NAB
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.5.55-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.5.55-6 🚀
Bundle Size Analysis (Sentry): |
Report message writes need a repeatable elapsed-time baseline before the action pipeline changes. I extracted the list-and-composer benchmark from #106703 and reset the large-account fixture before every sample. Each sample sends or receives ten messages and verifies all ten actions were applied outside the timed region. Existing row-render benchmarks remain unchanged.
@roryabraham @Eskalifer1, this is the baseline for the report actions changes in #107911.
Explanation of Change
Measures elapsed JavaScript time, including asynchronous Onyx notifications and React updates. The fixture has 500 actions in the open chat and 300 other chats with 20 actions each. Fixture setup, mounting, and assertions are excluded from timing.
Fixed Issues
$ #107911
PROPOSAL: #107911 (comment)
Tests
No manual application steps apply. This PR adds a Jest/Reassure benchmark only.
Offline tests
Not applicable. The benchmark uses mocked networking and changes no application behavior.
QA Steps
Not applicable. This benchmark runs locally and cannot be exercised in staging or production.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
No screenshots apply because this PR adds benchmark coverage without changing the UI.
🤖 Generated with Codex