Viladoman / CompileScore

Tools for profiling and visualizing C++ build times.
MIT License
460 stars 19 forks source link

Quality of life: powershell script for automation #4

Closed ikrima closed 3 years ago

ikrima commented 3 years ago

Didn't know where to put it so I created a scripts directory

Also wasn't sure what defaults to use so it just uses the script's current folder To run it, put all the necessary dlls/exes (CppBuildInsights.dll, vcperrf.exe, ScoreDataExtractor.exe, etc) in the same folder as the script

Then run

.\vcperf.ps1 -start
[build in visual studio]
.\vcperf.ps1 -stop -compilescore