User-centered performance engineering of declarative model transformations
Loading...
Date
2024-04-22
Authors
Groner, Raffaela Gloria
Journal Title
Journal ISSN
Volume Title
Publication type
Document version
Distributor
Universität Ulm
Published in
Abstract
The software to be developed is becoming increasingly extensive and complex, which can lead to classic development methods reaching their limits. Model-driven software development (MDSD) is an effort to reduce the ever-increasing complexity of software development by abstraction. In MDSD models describe the system to be developed on an abstract level and replace code as first-class citizens. These models are then automatically enriched with information, updated, or synchronized with other models during the development process. So-called model transformation languages have been developed to define these operations on models conveniently and easily. These domain-specific languages define rules by which models are translated from one formalism to another or to update a given model.
Models and model transformations are not only utilized for the development of software but also at runtime. Models@run.time are used, for example, to plan the execution steps of an adaptation of a self-adaptive system. To update such models at runtime, transformations are an obvious choice. This makes the performance of the applied transformations an important quality criterion, as a transformation that is too slow leads to delayed reactions or worse hazards.
To ensure a desired execution time, it is essential to be able to analyze and improve the performance of transformations. Current work in the area of model transformations hardly or only insufficiently considers these challenges. For example, empirical studies focus on analyzing the effectiveness and efficiency of model-driven development methods, but not on the challenges faced by developers when trying to improve the performance of their transformations. A large body of work looks at the transformation engine that executes a given transformation. There are various approaches to improving performance through parallel, distributed, or incremental transformation execution. These optimizations help to speed up the execution of a transformation, but they also reach their limits if the transformation has been poorly implemented in terms of performance. Software performance engineering (SPE) techniques and support to leverage application performance management (APM) are missing, which help transformation developers analyze, understand, and resolve the causes of performance issues. Furthermore, known SPE and APM techniques from general-purpose languages, like Java or C, cannot easily be adapted to transformations because, e.g., they do not adequately address the influence of the input model on the execution time.
Our contributions to support transformation developers are three-fold:
1) We carried out a mixed-methods study to examine the experiences of transformations in terms of performance. Based on our survey with 84 participants, we see that more than half of the participants have already tried to analyze or improve the performance of their transformations. With the help of 14 semi-structured follow-up interviews, we identified the challenges faced by developers and the existing gaps that prevent established SPE and APM techniques from being applied in the context of transformations.
2) We developed a profiling approach that supports model transformation developers to leverage APM by providing different model transformation-specific performance visualizations. To evaluate these visualizations, we performed a case study with 18 participants.
The participants had to analyze four different transformations with the help of our visualizations. Almost all of our 18 participants were able to suggest beneficial improvements for the different transformations based on the information provided by our visualizations.
3) Since the application of our profiler is reduced to analyzing the performance of a given model, we propose a prediction approach as further support for transformation developers. This prediction approach enables transformation developers to evaluate whether the execution time of a transformation will still meet his or her expectations for other input models in the future. We have carried out various experiments in which we have examined whether it is possible to predict the execution time of a transformation based on different sets of model characteristics with the help of machine learning approaches. The results of our experiments show that the random forest approach is a suitable machine learning approach that yields a mean absolute percentage error (MAPE) between 1.12% and 34.53% for predicting the execution time of different transformations. As input for the prediction serves a characterization of the input model consisting of the number of model elements, the number of references, the number of attributes, and the average size of string attributes per model element type filtered by their variance using the 85th percentile of the variances of the complete set of model characteristics.
Description
Faculties
Fakultät für Ingenieurwissenschaften, Informatik und Psychologie
DFG Project uulm
EU Project uulm
Other projects uulm
Citation
Is version of
Has version
Supplement to
Supplemented by
Has erratum
Erratum to
Has Part
Part of
DOI external
DOI external
Institutions
Periodical
Degree Program
DFG Project THU
EU Project THU
Other projects THU
Series
Keywords
Model transformation, Performance engineering, Application performance management, Profiler, Performance prediction, Software Engineering, Requirements engineering, Modellgetriebene Entwicklung, Modelltransformation, Software engineering, Computer programming, DDC 004 / Data processing & computer science
Collections
Endorsement
Review
Supplemented By
Referenced By
Zeitraum:
Creative Commons license
Except where otherwised noted, this item's license is described as CC BY-NC 4.0 International

