Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2024-08-14] [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web #43363

Closed
6 tasks
muttmuure opened this issue Jun 10, 2024 · 39 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@muttmuure
Copy link
Contributor

muttmuure commented Jun 10, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


What performance issue do we need to solve?

e.g. memory consumption, storage read/write times, React native bridge concerns, inefficient React component rendering, etc.

Desktop and web performance is currently difficult to evaluate compared with mobile because we don't support profile tracing

What is the impact of this on end-users?

List specific user experiences that will be improved by solving this problem e.g. app boot time, time to for some interaction to complete, etc.

Desktop and web users are unable to have their performance issues fully triaged.

List any benchmarks that show the severity of the issue

Please also provide exact steps taken to collect metrics above if any so we can independently verify the results.

Triaging this issue would benefit from having a profile trace

Proposed solution (if any)

Please list out the steps you think we should take to solve this issue.

Add web support to react-native-release-profiler
Make the "share profile" flow work on web as well

Add profile trace functionality to the desktop and web apps, in the Troubleshoot menu and four-finger-tap menu

List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)

Note: These should be the same as the benchmarks collected before any changes.

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Version Number:
Reproducible in staging?:
Reproducible in production?:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @muttmuure
Slack conversation:

View all open jobs on Upwork

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018b1cc2a053306cc3
  • Upwork Job ID: 1801178849066862909
  • Last Price Increase: 2024-06-20
Issue OwnerCurrent Issue Owner: @jayeshmangwani
Copy link

melvin-bot bot commented Jun 10, 2024

Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.

@muttmuure muttmuure added the External Added to denote the issue can be worked on by a contributor label Jun 13, 2024
@melvin-bot melvin-bot bot changed the title MEDIUM: [Debugability] Add profile trace download option to Desktop [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop Jun 13, 2024
Copy link

melvin-bot bot commented Jun 13, 2024

Job added to Upwork: https://www.upwork.com/jobs/~018b1cc2a053306cc3

@melvin-bot melvin-bot bot added Overdue Help Wanted Apply this label when an issue is open to proposals by contributors labels Jun 13, 2024
Copy link

melvin-bot bot commented Jun 13, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (External)

@melvin-bot melvin-bot bot removed the Overdue label Jun 13, 2024
Copy link

melvin-bot bot commented Jun 18, 2024

@jayeshmangwani Huh... This is 4 days overdue. Who can take care of this?

@melvin-bot melvin-bot bot added the Overdue label Jun 18, 2024
@jayeshmangwani
Copy link
Contributor

Waiting on proposal, bumped on #expensify-open-source

@melvin-bot melvin-bot bot removed the Overdue label Jun 18, 2024
Copy link

melvin-bot bot commented Jun 20, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@hannojg
Copy link
Contributor

hannojg commented Jun 21, 2024

Hey, Hanno from Margelo here 👋 we built react-native-release-profiler the library we use on mobile for recording performance profiles. We can enable recording profiles for desktop (and web), by adding web support to the library.
Feel free to assign me!

@melvin-bot melvin-bot bot added the Overdue label Jun 21, 2024
@muttmuure muttmuure changed the title [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web Jun 21, 2024
@melvin-bot melvin-bot bot removed Help Wanted Apply this label when an issue is open to proposals by contributors Overdue labels Jun 21, 2024
@kirillzyusko
Copy link
Contributor

Hey, Kiryl from Margelo here 👋

@hannojg asked me to work on this task. Can you please assign me on this task? 👀

Copy link

melvin-bot bot commented Jun 24, 2024

@hannojg, @kirillzyusko, @jayeshmangwani Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Jun 24, 2024
@kirillzyusko
Copy link
Contributor

I'm working on this task. At the moment I can capture profile traces and I'm discovering the best option for representing this data (obviously it has to match Google Chrome parser standards). Right now I have two options:

  • to use a custom transformer;
  • to convert to Hermes profiler format and then use hermes transformer.

I think tomorrow or the day after tomorrow the PR will be ready for review 👀

@jayeshmangwani
Copy link
Contributor

Not Overdue! Kirill is working on this issue. The last update is here, and the PR will be ready for review in a day or two.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 25, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-08-01] [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web [HOLD for payment 2024-08-02] [HOLD for payment 2024-08-01] [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web Jul 26, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jul 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.12-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-02. 🎊

For reference, here are some details about the assignees on this issue:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 31, 2024
Copy link

melvin-bot bot commented Aug 2, 2024

Issue is ready for payment but no BZ is assigned. @lschurr you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Copy link

melvin-bot bot commented Aug 2, 2024

Payment Summary

Upwork Job

  • Contributor: @hannojg is from an agency-contributor and not due payment
  • Contributor: @kirillzyusko is from an agency-contributor and not due payment
  • Reviewer: @jayeshmangwani owed $250 via NewDot

BugZero Checklist (@lschurr)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1801178849066862909/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@melvin-bot melvin-bot bot added the Overdue label Aug 2, 2024
@lschurr lschurr closed this as completed Aug 2, 2024
@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2024
@jayeshmangwani
Copy link
Contributor

@lschurr Issue is not ready to be paid out yet. The original PR was reverted due to a regression, and a new PR was just merged 3 days ago. Please keep this issue open until the new PR has been in production for 7 days.

@lschurr lschurr reopened this Aug 5, 2024
@lschurr
Copy link
Contributor

lschurr commented Aug 5, 2024

Can you link the new PR here @jayeshmangwani?

@kirillzyusko
Copy link
Contributor

@lschurr it's a link for new PR #46133 🙌

@lschurr lschurr changed the title [HOLD for payment 2024-08-02] [HOLD for payment 2024-08-01] [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web Aug 5, 2024
@muttmuure
Copy link
Contributor Author

#46929

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Aug 7, 2024
@melvin-bot melvin-bot bot changed the title [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web [HOLD for payment 2024-08-14] [$250] MEDIUM: [Debugability] Add profile trace download option to Desktop and Web Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.17-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-14. 🎊

For reference, here are some details about the assignees on this issue:

@lschurr
Copy link
Contributor

lschurr commented Aug 14, 2024

Payment summary:

Due to the regression, payments are half.

@lschurr lschurr closed this as completed Aug 14, 2024
@jayeshmangwani
Copy link
Contributor

Requested on ND as per #43363 (comment)

@JmillsExpensify
Copy link

$125 approved for @jayeshmangwani

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
Development

No branches or pull requests

7 participants