From 66a4d15e41990fdff93723872f3d75edf19507e8 Mon Sep 17 00:00:00 2001 From: Ivo Anjo Date: Thu, 18 Jul 2024 14:14:25 +0100 Subject: [PATCH] [PROF-10198] Add benchmark config with allocation profiling + ddprof **What does this PR do?** This PR adds a new benchmarking configuration for testing allocation profiling with `ddprof` enabled. (As a reminder, `ddprof` is the Datadog native profiler). **Motivation:** The intention is to allow us to use ddprof to profile the Ruby profiler, so we can identify optimization opportunities and validate any changes we make. **Additional Notes:** N/A **How to test the change?** I've tested this PR locally using the `bp-runner` tool. --- .gitlab/benchmarks.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab/benchmarks.yml b/.gitlab/benchmarks.yml index c6d19493a8b..26585a26932 100644 --- a/.gitlab/benchmarks.yml +++ b/.gitlab/benchmarks.yml @@ -88,6 +88,14 @@ only-profiling-alloc: DD_PROFILING_ENABLED: "true" DD_PROFILING_ALLOCATION_ENABLED: "true" +only-profiling-alloc-ddprof: + extends: .benchmarks + variables: + DD_BENCHMARKS_DDPROF: "true" + DD_BENCHMARKS_CONFIGURATION: only-profiling + DD_PROFILING_ENABLED: "true" + DD_PROFILING_ALLOCATION_ENABLED: "true" + only-profiling-heap: extends: .benchmarks variables: