Power plan and Visual Studio builds

Our Visual Studio 2013 solution holds 283 projects. The build and load times are long. Reading some tips on the internet about speeding things up I found that the power plan of my laptop directly influences the build time.

Operation Power plan Improvement
Power saver High performance
Clean 00:30 00:15 50%
Build #1 02:23 02:16 5%
Build #2 00:16 00:08 50%
Rebuild 02:12 01:44 25%

Times are measured with an AddIn that writes to the output window. Not exact science, but the numbers indicate there is a direct relation between the power plan and the build time. Interesting to see that build #1 (direct after a clean) takes almost the same time for both power plans.

My laptop has an Intel Dual Core I5 with turbo boost. The power saver plan disables this. Looks like this is the main reason for the differences. Will leave it at High performance.

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.