Example Analysis
A few people have asked how to analyze the numbers that the benchmark code generates. Unfortunately, I don’t have any automated analysis yet. So I wrote up an example analysis of one test.
I’ll post more examples as I get time.
Archive for May, 2008 | Main
A few people have asked how to analyze the numbers that the benchmark code generates. Unfortunately, I don’t have any automated analysis yet. So I wrote up an example analysis of one test.
I’ll post more examples as I get time.
The initial release of my benchmark is available now from http://stlab.adobe.com/performance/.
So far, I have written about 50 test files. I’m trying to explore the axes of my test space: what areas need to be tested, how deeply and specifically do they need to be tested, etc. The tests I’ve written cover C++ language concepts, simple idioms, common use idioms, runtime support, specification conformance, and compiler optimizations. Most of the tests have at least one major compiler performing badly. Of course, that is probably because I’m taking the tests from lists of things that I know compilers don’t do so well. On a positive note: all of the compilers I have tested are doing very well on dead code elimination.
I selected 3 of those tests to go out in the initial release — because people are more likely to read, understand, and discuss 20 pages of code than 2000. This will also give me a chance to get some verification on the approach and style, then clean up the remaining test files before sending those out.
A few weeks ago, I sent the initial release out to select compiler vendors for review. I received responses from 3 of the major compiler vendors, and 2 compiler teams have already found and fixed a couple of bugs based on my code (Yea!).
My next step is to setup a web site for downloads and send the initial release out to a larger audience of compiler writers.