An examination of the run-time performance of GUI creation frameworks
empirical study
performance analysis
Proceedings of the 2nd International Conference on the Principles and Practice of Programming in Java
Abstract
The graphical user interface (GUI) is an important component of many software systems. Past surveys indicate that the development of a GUI is a significant undertaking and that the GUI’s source code often comprises a substantial portion of the program’s overall source base. Graphical user interface creation frameworks for popular object-oriented programming languages enable the rapid construction of simple and complex GUIs. In this paper, we examine the run-time performance of two GUI creation frameworks, Swing and Thinlet, that are tailored for the Java programming language. Using a simple model of a Java GUI, we formally define the difficulty of a GUI manipulation event. After implementing a case study application, we conducted experiments to measure the event handling latency for GUI manipulation events of varying difficulties. During our investigation of the run-time performance of the Swing and Thinlet GUI creation frameworks, we also measured the CPU and memory consumption of our candidate application during the selected GUI manipulation events. Our experimental results indicate that Thinlet often outperformed Swing in terms of both event handling latency and memory consumption. However, Swing appears to be better suited, in terms of event handling latency and CPU consumption, for the construction of GUIs that require manipulations of high difficulty levels.Details
Presentation
Reference
@inproceedings{Howell2003a,
author = {Christopher J. Howell and Gregory M. Kapfhammer and Robert S. Roos},
booktitle = {Proceedings of the 2nd International Conference on the Principles
and Practice of Programming in Java},title = {An examination of the run-time performance of GUI creation frameworks},
year = {2003}
}