Skip to content

Conversation

@ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Nov 3, 2025

What does this PR do?

This PR groups two small changes:

  • Fix unintended dependency of datadog_ruby_common.h on profiling
  • Refresh instructions for developing with libdatadog

Motivation:

Both of the things fixed/improved here came up during review of #5007 .

Change log entry

None.

Additional Notes:

N/A

How to test the change?

The datadog_ruby_common.h change is covered by our CI: If we broke the native extensions, many specs would start failing.

These files don't actually need to pull in `profiling.h`.

Doing this was actually a leftover of when we extracted this file from
the profiling native gem, and in practice the only useful thing
`profiling.h` was doing was pull in `common.h`.
@ivoanjo ivoanjo requested review from a team as code owners November 3, 2025 09:27
@github-actions github-actions bot added the profiling Involves Datadog profiling label Nov 3, 2025
@datadog-official
Copy link

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 98.58% (+0.01%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: eb3b905 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@pr-commenter
Copy link

pr-commenter bot commented Nov 3, 2025

Benchmarks

Benchmark execution time: 2025-11-03 09:54:06

Comparing candidate commit eb3b905 in PR branch ivoanjo/native-extension-cleanups with baseline commit f060ebf in branch master.

Found 1 performance improvements and 0 performance regressions! Performance is the same for 43 metrics, 2 unstable metrics.

scenario:profiling - Allocations (baseline)

  • 🟩 throughput [+260596.789op/s; +273509.458op/s] or [+5.197%; +5.455%]

@ivoanjo ivoanjo merged commit 05283ad into master Nov 3, 2025
558 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/native-extension-cleanups branch November 3, 2025 11:06
@github-actions github-actions bot added this to the 2.23.0 milestone Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

profiling Involves Datadog profiling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants