运行独立性能分析器
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助独立 Android Studio 性能分析器,您可以分析应用的性能,而无需运行完整的 Android Studio IDE。
如需运行独立性能分析器,请执行以下操作:
- 确保性能分析器当前未在 Android Studio 中运行。
前往安装目录,然后前往 bin
目录:
Windows/Linux:studio-installation-folder/bin
macOS:macOS 不支持使用独立的性能分析器。
- 根据您的操作系统,运行
profiler.exe
或 profiler.sh
。系统随即会显示 Android Studio 启动画面。启动画面消失后,系统会打开性能分析器窗口。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Run the standalone profiler\n\nThe standalone Android Studio profiler lets you [profile your app](/studio/profile) without running\nthe full Android Studio IDE.\n\nTo run the standalone profiler, do the following:\n\n1. Make sure the profiler is not currently running inside of Android Studio.\n2. Go to the installation directory and navigate to the `bin`\n directory:\n\n **Windows/Linux** : \u003cvar translate=\"no\"\u003estudio-installation-folder\u003c/var\u003e`/bin`\n\n **macOS**: The use of standalone profilers is not supported on macOS.\n3. Depending on your OS, run `profiler.exe` or `profiler.sh`. The Android Studio splash screen appears. After the splash screen disappears, a profiler window opens."]]