Skip to content

Commit ce60191

Browse files
committed
[PROF-10589] Add benchmarking configuration for gvl profiling
**What does this PR do?** This PR tweaks our nightly benchmark runs configuration to add a new configuration that enables GVL profiling. **Motivation:** This will allow us to have better coverage for testing this feature. **Additional Notes:** This was previously blocked on upgrading the gitlab image that we run in the benchmarking platform, which I finally took care of in DataDog/benchmarking-platform#108 . **How to test the change?** I'll trigger a manual run to validate it's running fine and report back ;)
1 parent 91d883f commit ce60191

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.gitlab/benchmarks.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ only-profiling-heap-clean-after-gc:
114114
DD_PROFILING_HEAP_CLEAN_AFTER_GC_ENABLED: "true"
115115
ADD_TO_GEMFILE: "gem 'datadog', github: 'datadog/dd-trace-rb', ref: '$CI_COMMIT_SHA'"
116116

117+
only-profiling-gvl:
118+
extends: .benchmarks
119+
variables:
120+
DD_BENCHMARKS_CONFIGURATION: only-profiling
121+
DD_PROFILING_ENABLED: "true"
122+
DD_PROFILING_PREVIEW_GVL_ENABLED: "true"
123+
ADD_TO_GEMFILE: "gem 'datadog', github: 'datadog/dd-trace-rb', ref: '$CI_COMMIT_SHA'"
124+
117125
profiling-and-tracing:
118126
extends: .benchmarks
119127
variables:

0 commit comments

Comments
 (0)