Skip to content

Commit

Permalink
[PROF-10198] Add benchmark config with allocation profiling + ddprof
Browse files Browse the repository at this point in the history
**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.
  • Loading branch information
ivoanjo committed Jul 18, 2024
1 parent f6ec4ac commit 66a4d15
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitlab/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 66a4d15

Please sign in to comment.