Back to Search
Start Over
Micro-Benchmarking Considered Harmful
- Source :
- ICPE
- Publication Year :
- 2017
- Publisher :
- ACM, 2017.
-
Abstract
- Measuring the time spent on small individual fractions of program code is a common technique for analysing performance behavior and detecting performance bottlenecks. The benefits of the approach include a detailed individual attribution of performance and understandable feedback loops when experimenting with different code versions. There are however severe pitfalls when following this approach that can lead to vastly misleading results. Modern dynamic compilers use complex optimisation techniques that take a large part of the program into account. There can be therefore unexpected side-effects when combining different code snippets or even when running a presumably unrelated part of the code. This talk will present performance paradoxes with examples from the domain of dynamic compilation of Java programs. Furthermore, it will discuss an alternative approach to modelling code performance characteristics that takes the challenges of complex optimising compilers into account.
Details
- Database :
- OpenAIRE
- Journal :
- Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering
- Accession number :
- edsair.doi...........79c155035136585f9f4acf1535217e27