Pradel, Michael ; Schuh, Parker ; Necula, George ; Sen, Koushik (2014)
EventBreak: Analyzing the Responsiveness of User Interfaces through Performance-Guided Test Generation.
Portland, OR, USA
doi: 10.1145/2714064.2660233
Konferenzveröffentlichung, Bibliographie
Kurzbeschreibung (Abstract)
Event-driven user interface applications typically have a single thread of execution that processes event handlers in response to input events triggered by the user, the network, or other applications. Programmers must ensure that event handlers terminate after a short amount of time because otherwise, the application may become unresponsive. This paper presents EventBreak, a performance-guided test generation technique to identify and analyze event handlers whose execution time may gradually increase while using the application. The key idea is to systematically search for pairs of events where triggering one event increases the execution time of the other event. For example, this situation may happen because one event accumulates data that is processed by the other event. We implement the approach for JavaScript-based web applications and apply it to three real-world applications. EventBreak discovers events with an execution time that gradually increases in an unbounded way, which makes the application unresponsive, and events that, if triggered repeatedly, reveal a severe scalability problem, which makes the application unusable. The approach reveals two known bugs and four previously unknown responsiveness problems. Furthermore, we show that EventBreak helps in testing that event handlers avoid such problems by bounding a handler's execution time.
Typ des Eintrags: | Konferenzveröffentlichung |
---|---|
Erschienen: | 2014 |
Autor(en): | Pradel, Michael ; Schuh, Parker ; Necula, George ; Sen, Koushik |
Art des Eintrags: | Bibliographie |
Titel: | EventBreak: Analyzing the Responsiveness of User Interfaces through Performance-Guided Test Generation |
Sprache: | Deutsch |
Publikationsjahr: | Oktober 2014 |
Verlag: | ACM |
(Heft-)Nummer: | 10 |
Buchtitel: | Proceedings of the 2014 ACM International Conference on Object Oriented Programming Systems Languages & Applications |
Reihe: | OOPSLA '14 |
Band einer Reihe: | 49 |
Veranstaltungsort: | Portland, OR, USA |
DOI: | 10.1145/2714064.2660233 |
Kurzbeschreibung (Abstract): | Event-driven user interface applications typically have a single thread of execution that processes event handlers in response to input events triggered by the user, the network, or other applications. Programmers must ensure that event handlers terminate after a short amount of time because otherwise, the application may become unresponsive. This paper presents EventBreak, a performance-guided test generation technique to identify and analyze event handlers whose execution time may gradually increase while using the application. The key idea is to systematically search for pairs of events where triggering one event increases the execution time of the other event. For example, this situation may happen because one event accumulates data that is processed by the other event. We implement the approach for JavaScript-based web applications and apply it to three real-world applications. EventBreak discovers events with an execution time that gradually increases in an unbounded way, which makes the application unresponsive, and events that, if triggered repeatedly, reveal a severe scalability problem, which makes the application unusable. The approach reveals two known bugs and four previously unknown responsiveness problems. Furthermore, we show that EventBreak helps in testing that event handlers avoid such problems by bounding a handler's execution time. |
Freie Schlagworte: | performance, responsiveness, test generation, testing, web applications |
ID-Nummer: | TUD-CS-2014-1106 |
Fachbereich(e)/-gebiet(e): | Profilbereiche Profilbereiche > Cybersicherheit (CYSEC) |
Hinterlegungsdatum: | 24 Aug 2017 14:21 |
Letzte Änderung: | 12 Jan 2019 21:20 |
PPN: | |
Export: | |
Suche nach Titel in: | TUfind oder in Google |
Frage zum Eintrag |
Optionen (nur für Redakteure)
Redaktionelle Details anzeigen |