首页> 外文期刊>Empirical Software Engineering >iPerfDetector: Characterizing and detecting performance anti-patterns in iOS applications
【24h】

iPerfDetector: Characterizing and detecting performance anti-patterns in iOS applications

机译:iPerfDetector:在iOS应用程序中表征和检测性能反模式

获取原文
获取原文并翻译 | 示例
       

摘要

Performance issues in mobile applications (i.e., apps) often have a direct impact on the user experience. However, due to limited testing resources and fast-paced software development cycles, many performance issues remain undiscovered when the apps are released. As found by a prior study, these performance issues are one of the most common complaints that app users have. Unfortunately, there is a limited support to help developers avoid or detect performance issues in mobile apps. In this paper, we conduct an empirical study on performance issues in iOS apps written in Swift language. To the best of our knowledge, this is the first study on performance issues of apps on the iOS platform. We manually studied 225 performance issues that are collected from four open source iOS apps. We found that most performance issues in iOS apps are related to inefficient UI design, memory issues, and inefficient thread handling. We also manually uncovered four performance anti-patterns that recurred in the studied issue reports. To help developers avoid these performance anti-patterns in the code, we implemented a static analysis tool called iPerfDetector. We evaluated iPerfDetector on eight open source and three commercial apps. iPerfDetector successfully detected 34 performance anti-pattern instances in the studied apps, where 31 of them are already confirmed and accepted by developers as potential performance issues. Our case study on the performance impact of the anti-patterns shows that fixing the anti-pattern may improve the performance (i.e., response time, GPU, or CPU) of the workload by up to 80%.
机译:移动应用程序(即应用程序)中的性能问题通常会直接影响用户体验。但是,由于有限的测试资源和快速的软件开发周期,在发布应用程序时仍然没有发现许多性能问题。根据先前的研究发现,这些性能问题是应用程序用户最常抱怨的问题之一。不幸的是,只能提供有限的支持来帮助开发人员避免或检测移动应用程序中的性能问题。在本文中,我们对以Swift语言编写的iOS应用中的性能问题进行了实证研究。就我们所知,这是有关iOS平台上应用程序性能问题的首次研究。我们手动研究了从四个开源iOS应用程序中收集到的225个性能问题。我们发现,iOS应用程序中的大多数性能问题都与UI设计效率低下,内存问题和线程处理效率低下有关。我们还手动发现了所研究问题报告中反复出现的四种性能反模式。为了帮助开发人员避免在代码中使用这些性能反模式,我们实现了一个名为iPerfDetector的静态分析工具。我们在八个开源和三个商业应用程序上对iPerfDetector进行了评估。 iPerfDetector在研究的应用程序中成功检测到34个性能反模式实例,其中31个已经被确认并被开发人员接受为潜在的性能问题。我们对反模式的性能影响的案例研究表明,修复反模式可以将工作负载的性能(即响应时间,GPU或CPU)提高多达80%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号