Impact Metrics
Benchmark performance impact
The performance impact denotes an improvement or regression in performance of a benchmark. It is calculated by comparing the benchmark time measurement of the head commit with the time measurement of the base commit.
A negative performance metric means that
the benchmark is slower than the previous commit. The closer its value is to
-1
, the slower it is.
A positive performance metric means
that the benchmark is faster than the previous commit. Its value can go up to
+Infinity
to denote massive speed improvements.
Naturally, when the benchmark is as fast as the previous commit, the performance
metric is 0
.
Regression threshold
On the settings page of a project, you can set a threshold for a regression to
be considered a regression. By default, this value is set to 10%
(which is
equivalent to 0.1
). The value can be set from 0%
to 50%
by an admin of the
project. More information about setting the threshold can be found in the
customization documentation.
Commit performance impact
To get the overall performance impact of a commit, we aggregate all the
benchmark impacts. n
being the number of benchmarks.
Regression threshold exceeded
If there is a regression above the threshold, the overall commit impact will be the biggest regression impact.