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
[chore] Skip or bump some benchmarks to reduce noise (#14258)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
<!-- Issue number if applicable -->
Bumps size to 2k on some benchmarks to hopefully make those benchmarks
more reliable.
Skips a bunch of other benchmarks that are allocation-heavy and
currently are more noise than signal.
#### Link to tracking issue
Relates to #14257
b.Skip("Skipping since the 'MEMBENCH' environment variable was not set")
16
16
}
17
17
}
18
+
19
+
// SkipGCHeavyBench will skip GC-heavy benchmarks on CI.
20
+
// These benchmarks tend to be flaky with the current settings since garbage
21
+
// collection pauses can take ~50ms which is significant with the current benchmark times.
22
+
funcSkipGCHeavyBench(b*testing.B) {
23
+
ifos.Getenv("GCHEAVYBENCH") =="" {
24
+
b.Skip("Skipping since the 'GCHEAVYBENCH' environment variable was not set. See https://github.com/open-telemetry/opentelemetry-collector/issues/14257.")
0 commit comments