-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PROF-10603] Upgrade to libdatadog 13.1 #3997
Conversation
**What does this PR do?** This PR includes the changes documented in the "Releasing a new version to rubygems.org" part of the README: https://github.com/datadog/libdatadog/tree/main/ruby#releasing-a-new-version-to-rubygemsorg **Motivation:** Enable Ruby to use libdatadog v13.1.0. **Additional Notes:** We ended up not releasing 13.0 for Ruby. I don't see any reason to backfill so I've skipped ahead. **How to test the change?** I've tested this release locally using the changes in DataDog/dd-trace-rb#3997 . As a reminder, new libdatadog releases don't get automatically picked up by dd-trace-rb, so the PR that bumps the Ruby profiler will also test this release against all supported Ruby versions.
**What does this PR do?** This PR upgrades the datadog gem to use libdatadog 13.1. There were no needed API changes, it's a drop-in upgrade. **Motivation:** Staying on the latest libdatadog enables us to pick up the latest improvements and also makes it easier to develop new features that need libdatadog changes. **Additional Notes:** As usual, I'm opening this PR as a draft as libdatadog 13.1 is not yet available on rubygems.org, and I'll come back to re-trigger CI and mark this as non-draft once it is. **How to test the change?** Our existing test coverage includes libdatadog testing, so a green CI is good here :)
b31ccb5
to
c3747a9
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3997 +/- ##
==========================================
- Coverage 97.87% 97.87% -0.01%
==========================================
Files 1314 1314
Lines 78641 78641
Branches 3906 3906
==========================================
- Hits 76971 76969 -2
- Misses 1670 1672 +2 ☔ View full report in Codecov by Sentry. |
BenchmarksBenchmark execution time: 2024-10-14 14:03:15 Comparing candidate commit 720cc5c in PR branch Found 0 performance improvements and 3 performance regressions! Performance is the same for 21 metrics, 2 unstable metrics. scenario:profiler - gvl benchmark samples
scenario:profiler - sample timeline=false
scenario:profiler - stack collector
|
Merging ahead! I spotted that there's potential performance regressions -- I'll keep an eye for the performance in our real-world apps, as they're usually more reliable than our microbenchmarks. |
What does this PR do?
This PR upgrades the datadog gem to use libdatadog 13.1.
There were no needed API changes, it's a drop-in upgrade.
Motivation:
Staying on the latest libdatadog enables us to pick up the latest improvements and also makes it easier to develop new features that need libdatadog changes.
Additional Notes:
As usual, I'm opening this PR as a draft as libdatadog 13.1 is not yet available on rubygems.org, and I'll come back to re-trigger CI and mark this as non-draft once it is.
How to test the change?
Our existing test coverage includes libdatadog testing, so a green CI is good here :)