Research indexJournal article
Automatic analysis for managing and optimizing performance-code quality
Djoudi, Jalby
12 Jun 2008
NobleIDark:/48914/w1/20260525/F001D8AFDOI10.1145/1394504.1394508
Automatic analysis for managing and optimizing performance-code quality
Djoudi, Jalby · 2008 · Subscription
NobleIDark:/48914/w1/20260525/F001D8AFDOI10.1145/1394504.1394508
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
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.