Skip to content

Commit 2a59938

Browse files
docs: Clarify systrace tool deprecation in profiling guide
Fixes #3679 Added a note clarifying that the standalone systrace tool has been removed from Android platform-tools and users should use Android Studio Profiler instead. This addresses confusion around the deprecated systrace command-line tool while maintaining the documentation for the Systrace API in React Native. Changes: - Added deprecation notice for standalone systrace tool - Clarified that Android Studio Profiler is the recommended alternative - Improved documentation clarity for developers migrating from systrace
1 parent 1990be8 commit 2a59938

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/profiling.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ Android supports 10k+ different phones and is generalized to support software re
1515

1616
The first step for debugging this jank is to answer the fundamental question of where your time is being spent during each 16ms frame. For that, we'll be using the [built-in System Tracing profiler in the Android Studio](https://developer.android.com/studio/profile).
1717

18+
:::note
19+
The standalone `systrace` tool has been removed from Android platform-tools. Use the Android Studio Profiler instead, which provides the same functionality with a better user interface.
20+
:::
21+
1822
### 1. Collecting a trace
1923

2024
First, connect a device that exhibits the stuttering you want to investigate to your computer via USB. Open your project's `android` folder in Android Studio, select your device in the top right pane, and [run your project as profileable](https://developer.android.com/studio/profile#build-and-run).

0 commit comments

Comments
 (0)