Skip to content

[HOLD #56788] [MEDIUM] Investigate Profiling: MacOS - Desktop #56789

@fabioh8010

Description

@fabioh8010

Context

Slack proposal/discussion: https://expensify.slack.com/archives/C05LX9D6E07/p1738873979343599

Profiling is a critical tool for debugging and optimizing application performance. It allows developers to identify bottlenecks, troubleshoot slowdowns, and ensure the app runs efficiently across all platforms. Without reliable profiling, developers may struggle to diagnose issues, leading to slower issue resolution and potential performance degradation.

Currently, Profiling is only fully functional on native iOS and Android, while other platforms experience incomplete traces, obfuscation issues, or outright failures. This prevents us from effectively diagnosing performance problems in non-native environments, delaying optimizations and making it harder to maintain a high-performing application.

Note: The Profiling option can be enabled/disabled in desktop/browsers by pressing CMD + D to access the Troubleshoot menu and then pressing the Use profiling toggle, and in mobile apps/mobile browsers by performing a four-finger tap in the screen to access the Troubleshoot menu and then pressing the Use profiling toggle.

Problem

  • MacOS: Desktop
    • Staging - ⚠️
      • Traces are displayed after symbolication but most of them are still obfuscated.
    • Production - ⚠️
      • Traces are displayed after symbolication but most of them are still obfuscated.

Action Items

  1. For both Staging and Production, investigate why the traces are still obfuscated after symbolication (maybe a bug in the symbolicate scripts).

cc @mallenexpensify

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021891659171061891536
  • Upwork Job ID: 1891659171061891536
  • Last Price Increase: 2025-03-11
Issue OwnerCurrent Issue Owner: @hoangzinh

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions