Automatic analysis for managing and optimizing performance-code quality

  • Authors:
  • Lamia Djoudi;William Jalby

  • Affiliations:
  • University of Versailles, Versialles;University of Versailles, Versialles

  • Venue:
  • Proceedings of the 2008 workshop on Static analysis
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Nowadays, compilers contain a large number of optimizations. As a result code performance is becoming more and more complex to guarantee, it is sensitive to butterfly effects, and difficult to assess without extensive tuning and experimenting. The three fundamental points for code optimization are to detect, understand and fix potential performance problems. Assessing precisely the quality of compiled code is essential to deliver high performance. Nowadays this issue is mostly tackled by using hardware counters and dynamic profiling. Static analysis, as we aim to illustrate in this paper, can achieve similar results at a much lower cost and with a better accuracy. We propose a different static / dynamic combination to achieve a trade-off between code quality and performance. Our approach uses static and dynamic analysis as a means to automatically select good compiler optimization settings for each innerloop.