分析虚拟现实应用的性能问题
Analyzing Performance Issues of Virtual Reality Applications
摘要:
延展实境(XR)包括虚拟现实(VR)、增强现实(AR)和混合现实(MR)。XR是一种新兴技术,为用户模拟逼真的环境。XR技术已经在各种应用场景(例如,培训、教育、产品/架构设计、游戏、远程会议/旅游等)。由于在资源有限的设备中渲染实时动画的计算成本很高,并且与用户活动不断交互,XR应用程序经常面临性能瓶颈,这些瓶颈会对XR软件的用户体验产生负面影响。因此,性能优化在许多行业标准XR应用中起着至关重要的作用。即使识别传统软件中的性能瓶颈(例如,桌面应用程序)是一个广泛探讨的主题,但由于XR应用程序的不同性质,这些方法无法直接应用于XR软件。此外,在Unity和虚幻引擎等不同框架中开发的XR应用程序显示出不同的性能瓶颈模式,因此Unity项目的瓶颈模式无法应用于基于虚幻引擎(UE)的XR项目。为了填补基于虚幻引擎的XR项目在XR性能优化方面的知识空白,我们对7个UE XR项目、78个UE XR讨论问题和3个UE文档来源的性能优化进行了首次实证研究。我们的分析确定了14种类型的性能错误,包括12种与UE设置问题相关的错误和两种与CPP源代码相关的问题。为了进一步帮助开发人员根据已识别的错误模式检测性能错误,我们还开发了一个静态分析器UEPerfAnalyzer,它可以检测配置文件和源代码中的性能错误。
英文摘要:
Extended Reality (XR) includes Virtual Reality (VR), Augmented Reality (AR) and Mixed Reality (MR). XR is an emerging technology that simulates a realistic environment for users. XR techniques have provided revolutionary user experiences in various application scenarios (e.g., training, education, product/architecture design, gaming, remote conference/tour, etc.). Due to the high computational cost of rendering real-time animation in limited-resource devices and constant interaction with user activity, XR applications often face performance bottlenecks, and these bottlenecks create a negative impact on the user experience of XR software. Thus, performance optimization plays an essential role in many industry-standard XR applications. Even though identifying performance bottlenecks in traditional software (e.g., desktop applications) is a widely explored topic, those approaches cannot be directly applied within XR software due to the different nature of XR applications. Moreover, XR applications developed in different frameworks such as Unity and Unreal Engine show different performance bottleneck patterns and thus, bottleneck patterns of Unity projects can't be applied for Unreal Engine (UE)-based XR projects. To fill the knowledge gap for XR performance optimizations of Unreal Engine-based XR projects, we present the first empirical study on performance optimizations from seven UE XR projects, 78 UE XR discussion issues and three sources of UE documentation. Our analysis identified 14 types of performance bugs, including 12 types of bugs related to UE settings issues and two types of CPP source code-related issues. To further assist developers in detecting performance bugs based on the identified bug patterns, we also developed a static analyzer, UEPerfAnalyzer, that can detect performance bugs in both configuration files and source code.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。