You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just an idea I would like to share with you.
Clang prints several compilation statistics when supplied with the flags -Xclang -print-stats. See this sample output for an empty cpp file. This could be used to provide more aspects for the benchmarks (number of types, more reliable memory footprints(?), ...). I hacked together a clang-only proof of concept for measuring the type count, but I am not planning to continue with it myself. My first measurements of the type count show low-noise data, and there is some correlation with the compilation times.
There should be a way (dump and analyze AST?) to obtain similar statistics from other compilers, too.
The text was updated successfully, but these errors were encountered:
This is just an idea I would like to share with you.
Clang prints several compilation statistics when supplied with the flags
-Xclang -print-stats
. See this sample output for an empty cpp file. This could be used to provide moreaspects
for the benchmarks (number of types, more reliable memory footprints(?), ...). I hacked together a clang-only proof of concept for measuring the type count, but I am not planning to continue with it myself. My first measurements of the type count show low-noise data, and there is some correlation with the compilation times.There should be a way (dump and analyze AST?) to obtain similar statistics from other compilers, too.
The text was updated successfully, but these errors were encountered: