The Ohio State University
FUEL: A Runtime Methodology to Preload Time Consuming UI-APIs for Android Apps
Abstract
dc:descriptionIt is important for the developers to keep their applications responsive. However, a complex user interface (UI) can cause responsiveness problems during the execution of UI-APIs [1]. Even worse, a soft hang may be generated when the execution time of a UI-API is longer than a perceivable delay (i.e., 100ms). This paper presents FUEL (Fast UI Elements Loading), a runtime methodology that preloads the UI elements that are likely to be executed in order to reduce the response time. FUEL consist of three components: the view cache, the preloading module and the prediction module. It records the loading sequence of activities with complex UI at runtime and predicts which UI layout should be inflated ahead of time. After inflation, the generated views are saved in the view cache and can be retrieved through its corresponding class name when needed. We have tested FUEL on four open source applications that are available in the Google Play Store or on GitHub. As the results show, FUEL is able to reduce the execution time of UI-APIs by at least 28%, thus to eliminate soft hangs caused by complex UIs.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Electrical and Computer Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2020
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Cui, Zheng
- Advisor dc:contributor.advisor
-
- Wang, Xiaorui
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu158768332631699