[FEATURE] profile and improve compile times
DenisYaroshevskiy opened this issue · 0 comments
DenisYaroshevskiy commented
Using https://github.com/aras-p/ClangBuildAnalyzer
cmake -G Ninja .. -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DCMAKE_CXX_FLAGS="-march=native --stdlib=libc++ -DEVE_NO_FORCEINLINE -ftime-trace"
Then I build ClangBuildAnalyzer
And
./ClangBuildAnalyzer --all ../../eve/build ./tmp && ./ClangBuildAnalyzer --analyze ./tmp > ../../eve/out.txt
https://gist.github.com/DenisYaroshevskiy/891232d1188db934ddec77ce6bab1ada