• Keine Ergebnisse gefunden

Performance regression testing of concurrent classes

N/A
N/A
Protected

Academic year: 2022

Aktie "Performance regression testing of concurrent classes"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Performance Regression Testing of Concurrent Classes

Michael Pradel1, Markus Huggler2, Thomas R. Gross2

1EECS Department, University of California, Berkeley, USA

2Department of Computer Science, ETH Zurich, Switzerland

Abstract: Developers of thread-safe classes struggle with two opposing goals. The class must be correct, which requires synchronizing concurrent accesses, and the class should provide reasonable performance, which is difficult to realize in the presence of unnecessary synchronization. Validating the performance of a thread-safe class is challenging because it requires diverse workloads that use the class, because existing performance analysis techniques focus on individual bottleneck methods, and because reliably measuring the performance of concurrent executions is difficult. This paper presents SpeedGun, an automatic performance regression testing technique for thread- safe classes. The key idea is to generate multi-threaded performance tests and to com- pare two versions of a class with each other. The analysis notifies developers when changing a thread-safe class significantly influences the performance of clients of this class. An evaluation with 113 pairs of classes from popular Java projects shows that the analysis effectively identifies 13 performance differences, including performance regressions that the respective developers were not aware of.

The full paper has been published at the International Symposium on Software Testing and Analysis (ISSTA) 2014 [PHG14].

References

[PHG14] Michael Pradel, Markus Huggler, and Thomas R. Gross. Performance Regression Testing of Concurrent Classes. InInternational Symposium on Software Testing and Analysis (ISSTA), pages 13–25, 2014.

107

Referenzen

ÄHNLICHE DOKUMENTE

• Forschungszentrum Jülich and RWTH Aachen University combine their expertise in JARA-SIM (Jülich Aachen Re- search Alliance – Section Simulation Science): university

In comparison to the time needed to execute the single method in TestManual, using the running average values over all execution times, delegation imposes a perfor- mance penalty

We are interested in four aspects: The properties of the order estimation criterion, the size properties of the six proposed tests, the estimation quality of the cointegrating

If one writes down the simplest relativistic forms of mass and energy-momentum balance for the case where there is only an electromagnetic force present, it is found that, if the

In the past, Top Level Aircraft Requirements (TLARs) such as cruise Mach number or cruise altitude were defined at Airbus for new aircraft without the ability to fully account

However, PercSuperiorVote is not included in the model, meaning that the best subset selection process found that multi-class stock does not exert a strong influence on ROIC..

Using survey data from 742 human service organizations in Switzerland, the present study addresses this gap by investigating how professional and managerial role identities

Learning runtime resource utilization models from performance tests Performance tests that are specified using the provided primitives of the framework usually explore the