{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T19:43:36Z","timestamp":1782848616631,"version":"3.54.5"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>Modern mobile applications have high-resolution user interfaces (UI) and heavy computations, resulting in significant energy consumption and latency, especially on older devices. Precisely measuring the performance of mobile operations (e.g., the number of CPU instructions) and detecting performance issues are critical for mobile software engineering. In this study, we characterize a previously underexplored class of performance issues on mobile called Phantom Rendering, which occurs when mobile applications perform unnecessary UI-related offscreen computations but do not visually render them. For example, the animation component stops visually rendering on the screen but continues to refresh in the background. This problem represents a root-level disconnection between UI-related offscreen computational effort and visual rendering, inherent to dual-thread rendering architectures employed across modern mobile platforms such as Android, iOS, and OpenHarmony. While this architectural pattern is shared across platforms, our current implementation and evaluation focus on OpenHarmony. However, this is hard to detect automatically due to a lack of fine-grained performance  \nmeasurements and detection methods. To address the challenges, we propose HapPRDetection that contains a fine-grained performance profiler that can sample CPU Retired Instructions, the CPU instructions that have completed their execution and are no longer in the pipeline, and algorithms for automated detection of Phantom Rendering through differential analysis and hierarchical attribution. Our approach advances performance analysis methodology by bridging the semantic gap between fine-grained computational measurements (i.e., the number of CPU Retired Instructions at the function level) and high-level rendering behavior. Through our evaluation of the top-22 real-world mobile applications by download volume in OpenHarmony with 193 test steps, we show that Phantom Rendering issues occur in 19 test cases across 8 applications and that they range up to 40% of wasted CPU instructions in each problematic operation. We provide new insights into mobile rendering efficiency and our detection strategy offers practical solutions to identify and resolve Phantom Rendering during the mobile development loop. Our approach and implementation are available at https:\/\/github.com\/SMAT-Lab\/PhantomRendering.git.<\/jats:p>","DOI":"10.1145\/3797101","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"1628-1649","source":"Crossref","is-referenced-by-count":0,"title":["Phantom Rendering Detection: Identifying and Analyzing Unnecessary UI Computations"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0009-0003-4868-2805","authenticated-orcid":false,"given":"Zhihao","family":"Lin","sequence":"first","affiliation":[{"name":"Beihang University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3514-0372","authenticated-orcid":false,"given":"Mingyi","family":"Zhou","sequence":"additional","affiliation":[{"name":"Beihang University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0004-1960-3503","authenticated-orcid":false,"given":"Bo","family":"Sun","sequence":"additional","affiliation":[{"name":"Huawei, Wuhan, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4735-2241","authenticated-orcid":false,"given":"Han","family":"Hu","sequence":"additional","affiliation":[{"name":"Huawei Hong Kong Research Center, Hong Kong, Hong Kong"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8633-6036","authenticated-orcid":false,"given":"Gang","family":"Fan","sequence":"additional","affiliation":[{"name":"Huawei Hong Kong Research Center, Hong Kong, Hong Kong"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2990-1614","authenticated-orcid":false,"given":"Li","family":"Li","sequence":"additional","affiliation":[{"name":"Beihang University, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Apple. [n. d.]. Instruments Tutorials. https:\/\/developer.apple.com\/tutorials\/instruments."},{"key":"e_1_2_1_2_1","volume-title":"Performance analysis and performance diagnostics. Handbook of applied behavior analysis","author":"Austin John","year":"2000","unstructured":"John Austin. 2000. Performance analysis and performance diagnostics. Handbook of applied behavior analysis (2000), 321-349."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2509136.2509549"},{"key":"e_1_2_1_4_1","first-page":"26","article-title":"Accurate microarchitecturelevel power modeling on real processors","volume":"27","author":"Banerjee Abhishek","year":"2007","unstructured":"Abhishek Banerjee, Tanmay Mehta, Vijayalakshmi Srinivasan, and Massoud Pedram. 2007. Accurate microarchitecturelevel power modeling on real processors. IEEE Micro 27, 6 (2007), 26-35.","journal-title":"IEEE Micro"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/ispass.2007.363746"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.procs.2017.06.129"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-17524-9_1"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.5555\/1855840.1855861"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/icse-seip66354"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3793863"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/mobilesoft.2017.19"},{"key":"e_1_2_1_12_1","unstructured":"Android Developers. 2023. Improve your code with lint checks. https:\/\/developer.android.com\/studio\/write\/lint\/ Android Studio static analysis tool."},{"key":"e_1_2_1_13_1","volume-title":"Power Rails: Android Power Profiling. https:\/\/source.android.com\/devices\/tech\/power Android system-level power profiling tool.","author":"Developers Android","year":"2023","unstructured":"Android Developers. 2023. Power Rails: Android Power Profiling. https:\/\/source.android.com\/devices\/tech\/power Android system-level power profiling tool."},{"key":"e_1_2_1_14_1","volume-title":"Workshop on Modeling, Benchmarking, and Simulation","author":"Economou Dimitris","year":"2006","unstructured":"Dimitris Economou, Suzanne Rivoire, and Christos Kozyrakis. 2006. Full-system power analysis and modeling for server environments. Workshop on Modeling, Benchmarking, and Simulation (2006)."},{"key":"e_1_2_1_15_1","unstructured":"OpenAtom Foundation. 2023. HiPerf Performance Profiler. https:\/\/gitee.com\/openharmony\/developtools_hiperf OpenHarmony performance monitoring and profiling tool."},{"key":"e_1_2_1_16_1","unstructured":"OpenAtom Foundation. 2023. Hypium Testing Framework. https:\/\/gitee.com\/openharmony\/testfwk_arkxtest Open- Harmony automated testing framework."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1109\/infocom.2017.8057023"},{"key":"e_1_2_1_18_1","unstructured":"WebAssembly Community Group. 2019. WebAssembly Core Specification. https:\/\/www.w3.org\/TR\/wasm-core-1\/ W3C WebAssembly specification for high-performance web applications."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2425248.2425252"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/mobilesoft.2019.00018"},{"key":"e_1_2_1_21_1","unstructured":"Monsoon Solutions Inc. 2020. Monsoon Power Monitor. https:\/\/www.msoon.com\/ Hardware-level mobile device power measurement."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/micro.2003.1253186"},{"key":"e_1_2_1_23_1","volume-title":"Estimating total power consumption by servers in the US and the world. Lawrence Berkeley National Laboratory","author":"Koomey Jonathan G","year":"2007","unstructured":"Jonathan G Koomey. 2007. Estimating total power consumption by servers in the US and the world. Lawrence Berkeley National Laboratory (2007)."},{"key":"e_1_2_1_24_1","volume-title":"Accessed","author":"Inc. Kwai.","year":"2025","unstructured":"Inc. Kwai. 2025. AndroidGodEye -A performance monitor tool for Android applications. https:\/\/github.com\/ KwaiAppTeam\/AndroidGodEye. Accessed: August 22, 2025."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/tmc.2018.2844202"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1109\/dac18072.2020.9218517"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3696630.3728565"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/icse-seip66354.2025.00010"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2568225"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/icpp.2012.31"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491411"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2348543.2348583"},{"key":"e_1_2_1_33_1","volume-title":"Proc. 5th Int. WIAMIS","author":"Pastrana-Vidal Ricardo R","year":"2004","unstructured":"Ricardo R Pastrana-Vidal, Jean-Charles Gicquel, Catherine Colomes, and Hocine Cherifi. 2004. Frame dropping effects on user quality perception. Proc. 5th Int. WIAMIS (2004)."},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the 10th USENIX conference on Operating Systems Design and Implementation. 107-120","author":"Ravindranath Lenin","year":"2012","unstructured":"Lenin Ravindranath, Jitendra Padhye, Ratul Mahajan, and Hari Balakrishnan. 2012. AppInsight: mobile app performance monitoring in the wild. In Proceedings of the 10th USENIX conference on Operating Systems Design and Implementation. 107-120."},{"key":"e_1_2_1_35_1","volume-title":"Markers for enhancing team cognition in complex environments: The power of team performance diagnosis. Aviation, space, and environmental medicine 78, 5","author":"Salas Eduardo","year":"2007","unstructured":"Eduardo Salas, Michael A Rosen, C Shawn Burke, Denise Nicholson, and William R Howse. 2007. Markers for enhancing team cognition in complex environments: The power of team performance diagnosis. Aviation, space, and environmental medicine 78, 5 (2007), B77-B85."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/1669112.1669135"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1109\/icse.2017.41"},{"key":"e_1_2_1_38_1","unstructured":"Android Studio. [n. d.]."},{"key":"e_1_2_1_39_1","unstructured":"Perfetto -System profiling app tracing and trace analysis. https:\/\/developer.android.google.cn\/ tools\/perfetto?hl=zh-cn."},{"key":"e_1_2_1_40_1","unstructured":"Gleb Tarasov and Booking.com. 2024. PerformanceSuite: A Swift-based iOS library for monitoring app performance and quality metrics. https:\/\/github.com\/bookingcom\/perfsuite-ios iOS performance monitoring framework."},{"key":"e_1_2_1_41_1","volume-title":"Proceedings of the 2nd International Workshop on Performance Analysis of Workloads on Modern Architectures. ACM.","author":"Weaver Vincent M","year":"2013","unstructured":"Vincent M Weaver. 2013. Linux perf_event features and overhead. In Proceedings of the 2nd International Workshop on Performance Analysis of Workloads on Modern Architectures. ACM."},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1109\/greencom-ithings-cpscom.2013.45"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/1383559.1383561"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2818613.2818746"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE63991.2025.00269"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/ismar.2014.6948427"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3797101","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:46:05Z","timestamp":1782845165000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3797101"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":46,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3797101"],"URL":"https:\/\/doi.org\/10.1145\/3797101","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}