You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/comparison-analysis.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ How many _significant_ test results indicate performance changes and what is the
33
33
* given 20 changes of different kinds all of low magnitude, the result is mixed unless only 2 or fewer of the changes are of one kind.
34
34
* given 5 changes of different kinds all of low magnitude, the result is always mixed.
35
35
36
-
Whether we actually _report_ an analysis or not depends on the context and how relevant we find the summary of the results over all (see below for an explanation of how summary relevant is determined). For example, in pull request performance "try" runs, we report a performance change if results are "somewhat relevant", while for the triage report, we only report if the we are confident the results are "definitely relevant".
36
+
Whether we actually _report_ an analysis or not depends on the context and how relevant we find the summary of the results over all (see below for an explanation of how the relevance of a summary is determined). For example, in pull request performance "try" runs, we report a performance change if results are "somewhat relevant", while for the triage report, we only report if the we are confident the results are "definitely relevant".
37
37
38
38
### What makes a test result significant?
39
39
@@ -60,14 +60,14 @@ Magnitude is a combination of two factors:
60
60
* how large a change is regardless of the direction of the change
61
61
* how much that change went over the significance threshold
62
62
63
-
If a large change only happens to go over the significance threshold by a small factor, then the over magnitude of the change is considered small.
63
+
As an example, if a change that is large in absolute terms only exceeds the significance threshold by a small factor, then the overall magnitude of the change is considered small.
64
64
65
65
#### Relevance algorithm
66
66
67
67
The actual algorithm for determining relevance of a comparison summary may change, but in general the following rules apply:
68
-
* High relevance: any number of very large or large changes, a small amount of medium changes, or a large amount of small or very small changes.
69
-
* Medium relevance: any number of very large or large changes, any medium change, or smaller but still substantial amount of small or very small changes.
70
-
*Small relevance: if it doesn't fit into the above two categories, it ends in this category.
68
+
* High relevance: any number of very large or large changes, a small amount of medium changes, or a large number of small or very small changes.
69
+
* Medium relevance: any number of very large or large changes, any medium change, or smaller but still substantial number of small or very small changes.
70
+
*Low relevance: if it doesn't fit into the above two categories, it ends in this category.
Copy file name to clipboardExpand all lines: docs/glossary.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ The following is a glossary of domain specific terminology. Although benchmarks
36
36
***test result comparison**: the delta between two test results for the same test case but (optionally) different artifacts. The [comparison page](https://perf.rust-lang.org/compare.html) lists all the test result comparisons as percentages between two runs.
37
37
***significance threshold**: the threshold at which a test result comparison is considered "significant" (i.e., a real change in performance and not just noise). You can see how this is calculated [here](https://github.com/rust-lang/rustc-perf/blob/master/docs/comparison-analysis.md#what-makes-a-test-result-significant).
38
38
***significant test result comparison**: a test result comparison above the significance threshold. Significant test result comparisons can be thought of as being "statistically significant".
39
-
***relevant test result comparison**: a test result comparison can be significant but still not be relevant (i.e., worth paying attention to). Relevance is a factor of the test result comparison's *magnitude*. Comparisons are considered relevant if they have a small magnitude or more. This term is often used to mean "significant *and* relevant" since relevant changes are necessarily also significant.
39
+
***relevant test result comparison**: a test result comparison can be significant but still not be relevant (i.e., worth paying attention to). Relevance is a factor of the test result comparison's significance and magnitude. Comparisons are considered relevant if they are significant and have at least a small magnitude .
40
40
***test result comparison magnitude**: how "large" the delta is between the two test result's under comparison. This is determined by the average of two factors: the absolute size of the change (i.e., a change of 5% is larger than a change of 1%) and the amount above the significance threshold (i.e., a change that is 5x the significance threshold is larger than a change 1.5x the significance threshold).
41
41
***dodgy test case**: a test case for which the significance threshold is significantly large indicating a high amount of variability in the test and thus making it necessary to be somewhat skeptical of any results too close to the significance threshold.
0 commit comments