优先考虑应用程序的稳定性

Note: Although the strategies outlined in this article are platform agnostic, we are using concrete examples from Android to highlight their execution.

注意:尽管本文中概述的策略与平台无关,但我们使用的具体例子来自于 的具体例子来强调它们的执行。 的具体例子来强调其执行。

Creating a Performance Framework

创建一个绩效框架

In the spring of 2020 we started the journey to improve the performance of Lyft’s mobile applications, initially focusing on app start time (also known as Time to Interact or TTI). There was a great deal of opportunity for improvement in the TTI space at Lyft and we were confident that with a small investment, we would be able to add meaningful impact. The success of this project helped pave the way for further investment in Mobile Performance at Lyft.

2020年春天,我们开始了改善Lyft移动应用程序性能的旅程,最初专注于应用程序启动时间(也称为互动时间或TTI)。在Lyft的TTI领域有大量的改进机会,我们相信通过少量的投资,我们将能够增加有意义的影响。这个项目的成功有助于为Lyft在移动性能方面的进一步投资铺平道路。

Making the jump from a single TTI investment into a holistic plan to improve Mobile Performance at Lyft meant we would have to think beyond a single metric. In doing so, we also wanted to establish key focus areas to avoid “boiling the ocean” through too many avenues of improvement. Leveraging Google’s Android performance documentation, we focused our investment in Mobile Performance into the three metrics with the highest opportunity for improvement.

从单一的TTI投资跳转到改善Lyft移动性能的整体计划,意味着我们必须超越单一指标的思考。在这样做的时候,我们也希望建立关键的重点领域,以避免通过过多的改进途径来 "煮沸海洋"。利用谷歌的安卓性能文件,我们将对移动性能的投资集中在有最大改进机会的三个指标上。

  1. Time to interact (app start): Continuing reducing app startup time that started in 2020
  2. 互动时间(应用启动)。继续减少2020年开始的应用程序启动时间
  3. Stability: Reducing the number of crashes and ANRs (App Not Responding) any given user experiences
  4. 稳定性。减少任何特定用户经历的崩溃和ANR(应用程序无响应)的数量。
  5. Rendering performance: Maintaining a high, buttery smooth frame rate
  6. 渲染性能。保持较高的、奶油般顺滑的帧率

When evaluating the prioritization of the above metrics, we created a table using rough estimates of each metric’s opportunity size, actionability, and user impact. We gave each area a weight and multiplied them to get a score. The weight of “How Actionable” is de...

开通本站会员,查看完整译文。

首页 - Wiki
Copyright © 2011-2024 iteam. Current version is 2.137.1. UTC+08:00, 2024-11-22 18:50
浙ICP备14020137号-1 $访客地图$