Created
April 13, 2019 08:06
-
-
Save r2p2/b0c37289d2786a8defd9ba8ea4e64c4b to your computer and use it in GitHub Desktop.
One Line Compile Time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make clean && make -pRrq | grep 'MAKE.*cc.o' | sed 's/.*..MAKE./make/' | while read -r cmd ; do /usr/bin/time -f "%e $cmd" $cmd -j1 -b > /dev/null ; done 2>&1 | tee compile-times.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment