how to measure time saved by using precompiled header

244 Views Asked by At

I have a Visual C++ solution with about 15 projects that takes over 30 minutes to build. It is a large solution and we are doing all sorts of bad things such as including windows api header all over the place instead of putting them in stdafx.h

Before i go in and move those headers to stdafx.h i want to measure how much time my effort woudl save. I was thinking about doing rebuild before my change and after my change but i precompiled header starts to pay off on 2nd incremental build, not rebuild as it would clean pch file as well.

any way to measure this?

0

There are 0 best solutions below