使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助 Android Performance Tuner (APT),您可以大规模地跨多种 Android 设备测量和优化帧速率、图形保真度、加载时间以及加载放弃率,从而尽可能为每一位用户提供最佳体验。
它可以帮助您发现游戏或应用中存在的性能问题,并挖掘提升保真度的机会。影响程度指标可帮助您确定要优先处理的问题,系统会对问题进行分类,这有助于您采取适当的措施。无论是设备型号还是设备规格级别方面的信息,都可以帮助您找到最有效的行动方法。
有何优势?
Android Performance Tuner (APT) 可帮助您为更多用户提供高品质的体验。
新变化!了解加载时间及其对加载放弃率的影响
APT 可跟踪多种加载类型(首次加载、冷加载、温加载和关卡间加载)的加载时间和加载放弃率。它会显示较长的加载时间对游戏加载放弃率的影响,以便您确定最优加载时间。
衡量用户体验的质量
APT 可向您展示现实中游戏在真实用户设备上运行的帧速率和加载时间性能,让您直接了解他们的体验。所有指标都可以根据目标进行自定义,因此您可以了解游戏相对于您的特定目标的达成情况。
诊断并优先解决游戏性能问题
系统按照质量级别、游戏内注释以及设备型号对帧速率和加载时间问题进行分解,以帮助您缩小范围来找出根本原因。对于每个帧速率问题,您都可以看到 GPU 时间以及 CPU 时间,因此您可以评估可能需要哪种类型的优化。您还可以看到受影响的会话数,这样您就可以了解哪些内容对您的用户影响最大,并确定最先重点关注哪些设备或游戏场景。
充分利用每台设备
除了发现性能问题外,APT 还可以提高设备上的保真度(尽管性能良好,但仍有提升的空间),从而为您挖掘改善用户体验的机会。这样可确保每位用户都从您的游戏中获得最佳体验。
工作机制是怎样的?
Android Performance Tuner 与 Android Vitals 结合使用。
- Android Performance Tuner 会记录并汇总您的游戏或应用中的实时帧时间和加载信息,以及您提供的游戏注释和保真度参数。
- 当您使用 Android Performance Tuner 发布某版本的游戏或应用时,系统会将此性能数据上传至 Google Play,并在 Android Vitals 中发掘新的性能分析数据。
如需获取这些性能分析数据,您必须将 Android Performance Tuner 集成到您的游戏或应用中,然后在 Google Play 上发布:

要求
对设备的要求:
Android Performance Tuner (APT) 适用于任何搭载 Android 4.1(API 级别 16)或更高版本的 Android 设备(无论是否安装 Google Play 服务)。这覆盖了超过 99% 的活跃 Android 设备。
对所有开发者的要求:
- 有权访问 Android Vitals
- 产品仅在新版 Google Play 管理中心内提供
对 Unity 开发者的其他要求:
- Unity 2017.4 或更高版本以及 .NET 4.6 版
- 如需使用 APK 扩展文件,必须使用 Unity 2018.2
- 为改善帧同步和 GPU 测量,需要使用 Unity 2019.3.14 或更高版本。
- 若要支持 Addressables 场景,需要使用 Unity 2019.3 或更高版本以及 Addressables 软件包 1.19.4 或更高版本。
了解 Android Performance Tuner
我们提供了 Codelab,可引导您将 Android Performance Tuner 集成到游戏中,包括 C/C++ 和 Unity 引擎集成:
C/C++ 和 Unity Engine SDK 的参考文档:
其他资源
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-01。
[null,null,["最后更新时间 (UTC):2025-08-01。"],[],[],null,["# Android Performance Tuner (APT)\nPart of [Android Game Development Kit](/games/agdk/overview).\n=============================================================================================\n\nAndroid Performance Tuner (APT) enables you to deliver the best possible experience to\neach of your users by helping you to measure and optimize frame rates, graphical\nfidelity, loading time and loading abandonment across many Android devices at\nscale.\n\nIt helps you identify performance issues in your game or app, and also\nhighlights opportunities to improve your fidelity. Impact metrics help you to\nprioritize, and issues are categorized to help you take action. Information at\nboth device model and device spec level enables you to find the most effective\nway to act. \n[Get started for native games](/games/sdk/performance-tuner/custom-engine) [Get started for Unity games](/games/sdk/performance-tuner/unity)\n\n*** ** * ** ***\n\nWhat are the benefits?\n----------------------\n\nAndroid Performance Tuner (APT) helps you deliver a high-quality experience to more\nusers.\n\n### New! Understand your loading times and their impact on abandonment\n\nAPT tracks both your loading time and loading\nabandonment across multiple types of loading (first loads, cold loads, warm\nloads and interlevel loads). It shows you the impact that longer loading times\nhas on abandonment for your game, so that you can determine the optimal loading\ntime.\n\n### Measure the quality of your user experience\n\nAPT shows you the frame rate and loading time\nperformance of your game on actual user devices in the real world, so you get\ndirect insight into their experience. All metrics are customized to your\ntargets, so you can understand how the game is performing relative to your\nspecific goals.\n\n### Diagnose and prioritise your game performance issues\n\nFrame rate and loading time issues are broken out by your quality levels and\nyour in-game annotations, as well as device model, to help you narrow down the\nroot cause. For each frame rate issue, you can see GPU time as well as CPU time,\nso you can assess what type of optimization may be needed. The number of\naffected sessions is also shown, so you can understand what's affecting your\nusers most, and decide what devices or game scenes to focus on first.\n\n### Get the best out of every device\n\nAs well as surfacing performance rate issues, APT\nhighlights opportunities for you to improve your user experience by increasing\nfidelity on devices which already perform well but that have room to go further.\nThis enables you to ensure that every user gets the best possible experience of\nyour game.\n\nHow does it work?\n-----------------\n\nAndroid Performance Tuner works with Android vitals.\n\n- Android Performance Tuner records and aggregates live frame time and loading information from your game or app, alongside game annotations and fidelity parameters that you provide.\n- When you publish a version of your game or app with Android Performance Tuner, this performance data is uploaded to Google Play and unlocks new performance insights in Android vitals.\n\nTo get these performance insights, you must integrate Android Performance Tuner into\nyour game or app and then publish it on Google Play:\n\nRequirements\n------------\n\nFor devices:\n\nAndroid Performance Tuner (APT) works on any Android device (with or without Google\nPlay services) running Android 4.1 (API level 16) or later. This is over 99% of\nall active Android devices.\n\nFor all developers:\n\n- Access to Android vitals\n- Product only available in the new Google Play Console\n\nAdditional requirements for Unity developers:\n\n- Unity version 2017.4 or later and [.NET version 4.6](https://dotnet.microsoft.com/download/dotnet-framework/net46)\n- To use APK Expansion files, Unity 2018.2 is required\n- For improved frame pacing and GPU measurements, Unity version 2019.3.14 or later is required\n- For Addressables scenes support, Unity 2019.3 or later and [Addressables package 1.19.4](https://docs.unity3d.com/Packages/com.unity.addressables@0.8/manual/index.html) or later are required.\n\nLearn about Android Performance Tuner\n-------------------------------------\n\nWe have codelabs to walk you through integrating Android Performance Tuner into your\ngame for both C/C++ and Unity Engine integrations:\n\n- [Codelab: Integrating Android Performance Tuner into your C/C++ Android game](https://codelabs.developers.google.com/codelabs/android-performance-tuner-native/)\n- [Codelab: Integrating Android Performance Tuner into your Unity game](https://codelabs.developers.google.com/codelabs/android-performance-tuner-unity/)\n\nReferences for the C/C++ and Unity Engine SDKs:\n\n- [Android Performance Tuner C/C++ reference](/games/sdk/reference/performance-tuner/custom-engine)\n- [Android Performance Tuner Unity reference](/games/sdk/reference/performance-tuner/unity)\n\nAdditional resources\n--------------------"]]