Performance tests?

Hey llvm-dev,

What’s the best method to test performance of Clang generated executables? Are the nightly tests in test-suite sufficient?

I’m looking for publicly available tests/suites with a good breadth of coverage…


The tests and benchmarks in the `test-suite` repository are pretty comprehensive, and LLVM developers often justify changes by showing performance improvements in this suite.

The answers to your questions really rely on your definitions of “sufficient” and “good breadth”, but I feel the test-suite is often good enough.


Thanks, Sam. This is what I was looking for.

The cmake line on this page should likely be changed from

cmake -DCMAKE_C_COMPILER=/bin/clang


cmake -DCMAKE_C_COMPILER=/bin/clang