How To Determine if Your Build Is Under-Provisioned

Overview

Understanding your CPU and memory usage can help when making decisions about build optimization. Each build on CircleCI will be allocated specific vCPUs and memory, based on the executor type selected.

 

Examine CPU and memory usage

You can observe the CPU and memory usage of a job under the Resources tab on the Job detail page. Developers can then understand the CPU and memory utilization profile of their builds, especially if they are under-provisioned (or over-provisioned for that matter).

circleci-circleci-docs-example.png

Note: For Docker-executor jobs that use multiple images, note that this graph accounts for all of the containers, not just the primary container. In addition, the data points are captured at 15-seconds intervals, so if your job completes before 15 seconds, there would be no data points on the graph then.

You can then provision a larger resource class to allocate resources accordingly.

Additional Resources: 

Was this article helpful?
1 out of 4 found this helpful

Comments

0 comments

Article is closed for comments.