Managing analysis minutes
Analysis minutes usage is based on four main factors: repository size, analysis frequency, runner size, and the static analysis tools you use. The most minutes will be consumed by frequently analyzing large codebases with resource intensive static analysis tools. If you want to reduce the number of analysis minutes consumed, consider the following strategies:- Ensure that you are excluding unnecessary files and directories from analysis to increase analysis efficiency.
- Consider running certain static analysis tools only on your default branch, in order to speed up analysis of pull requests.
- Reduce the frequency of analysis of your default branch, especially for large repositories.
Included analysis minutes
| Plan | Analysis Minutes |
|---|---|
| Free | 1,000 minutes |
| Pro | 20,000 minutes |
| Enterprise | 75,000 minutes |
Per-minute overage rates
Standard analysis minutes are based on a 2 CPU core, 4 GB RAM Linux runner. Larger runners can be selected for more resource-intensive analyses, and consume minutes at multiples of the standard runner rate. Within your plans allotted analysis minutes, larger runners will consume minutes at the rates below. Above your plan’s allotted minutes, the following overage rates will apply.Per-minute rates for standard runners
| Operating system | CPU cores | RAM | Analyis minutes | Per-minute rate |
|---|---|---|---|---|
| Linux | 2 | 4 GB | 1 | $0.01 |
Per-minute rates for larger runners
| Operating system | CPU cores | RAM | Analysis minutes | Per-minute rate |
|---|---|---|---|---|
| Linux | 4 | 8 GB | 2 | $0.02 |
| Linux | 8 | 16 GB | 4 | $0.04 |
| Linux | 16 | 32 GB | 8 | $0.08 |
Per-minute rates for code coverage uploads
Each code coverage upload counts as one standard analysis minute, regardless of the size of the upload. This means that if you upload code coverage data for a large codebase, it will still only consume one analysis minute. (When server-side coverage merging is used, each upload part counts as one analysis minute.)Notes about larger runners
- Larger runners are only available on the Pro and Enterprise plans.
- Larger runners are not free for public repositories.