instmake 允许您分析 GNU make 工具的构建过程,提供一个非常详细的构建日志来分析这些记录。这些报告为你提供更好的洞察构建,让你找到竞争条件,分析了并行性的构建。
$ instmake -s tooltime CPU TIME, Non-Make Records (*) TIMES TOTAL % TOT MIN MAX MEAN TOOL RUN TIME TIME TIME TIME TIME ------------------------- -------- ------------- ------- ------------- ------------- ------------- ./config.status 3 7.970s 32.61% 0.070s 7.760s 2.657s ./config/missing 4 6.060s 24.80% 0.280s 2.880s 1.515s gcc 26 10.350s 42.35% 0.070s 1.520s 0.398s swig 1 0.060s 0.25% 0.060s 0.060s 0.060s if 2 0.000s 0.00% 0.000s 0.000s 0.000s rm 3 0.000s 0.00% 0.000s 0.000s 0.000s touch 1 0.000s 0.00% 0.000s 0.000s 0.000s cat 1 0.000s 0.00% 0.000s 0.000s 0.000s ./python-config.py 1 0.000s 0.00% 0.000s 0.000s 0.000s TOTAL 42 24.440s