When is the CPU benchmark run?

Hello all,

I would like to know when / how often does TeamCity update the CPU benchmark score. We're running a build and test server in a virtual environment, where the performance may vary depending on the overall CPU usage etc. If we could get the CPU benchmark updated before every build, we could (or could we?) use this value to estimate acceptable changes in our performance test results.

1 comment
Comment actions Permalink

TeamCity agent performs simple CPU intensive calculation on startup. The value is not recalculated until agent is restarted.
If you need some performance metric for your builds you can add calculation of it as the first step to your build. Then you can pass this value to further steps of the build with help of service message:
http://confluence.jetbrains.net/display/TCD7/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-AddingorChangingaBuildParameterfromaBuildStep

0

Please sign in to leave a comment.