Skip to content
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

DEBUG-2334 DI benchmarks extracted from #4012 #4049

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

p-datadog
Copy link
Member

What does this PR do?

The benchmarks in this PR contain code for line probes and method probes, only method probes are currently enabled becuase more DI code is needed to have line probes work.

Motivation:

Change log entry

None

Additional Notes:

This entire PR was part of #4012 but benchmarks were failing there because master (baseline) didn't have enough DI code to run the benchmarks.

How to test the change?

CI

These contain code for line probes and method probes,
only method probes are currently enabled becuase more DI code
is needed to have line probes work.
@p-datadog p-datadog requested a review from a team as a code owner October 30, 2024 13:07
@p-datadog p-datadog changed the title DI benchmarks extracted from #4012 DEBUG-2334 DI benchmarks extracted from #4012 Oct 30, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.78%. Comparing base (fe0c0f2) to head (5a6a098).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4049      +/-   ##
==========================================
- Coverage   97.79%   97.78%   -0.01%     
==========================================
  Files        1337     1338       +1     
  Lines       80231    80245      +14     
  Branches     4014     4014              
==========================================
+ Hits        78458    78465       +7     
- Misses       1773     1780       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TonyCTHsu TonyCTHsu added the dev/tooling Involves tools (e.g. Rubocop, CodeCov) label Oct 30, 2024
@pr-commenter
Copy link

pr-commenter bot commented Oct 30, 2024

Benchmarks

Benchmark execution time: 2024-10-30 13:49:46

Comparing candidate commit 5a6a098 in PR branch di-benchmark with baseline commit fe0c0f2 in branch master.

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

scenario:method instrumentation

  • 🟥 throughput [-11180.193op/s; -10631.763op/s] or [-6.144%; -5.843%]

scenario:profiler - estimated profiler gc per minute (sample 60000 times + serialize result)

  • 🟥 throughput [-0.213op/s; -0.204op/s] or [-5.306%; -5.062%]

scenario:profiler - profiler gc

  • 🟥 throughput [-23025.826op/s; -22126.785op/s] or [-6.491%; -6.238%]

scenario:tracing - Propagation - Trace Context

  • 🟩 throughput [+4512.109op/s; +4642.547op/s] or [+13.287%; +13.671%]

@p-datadog p-datadog added the dev/internal Other internal work that does not need to be included in the changelog label Oct 30, 2024
@p-datadog p-datadog merged commit 1ec3900 into master Oct 30, 2024
272 of 273 checks passed
@p-datadog p-datadog deleted the di-benchmark branch October 30, 2024 14:34
@github-actions github-actions bot added this to the 2.5.0 milestone Oct 30, 2024
p-datadog pushed a commit to p-datadog/dd-trace-rb that referenced this pull request Nov 1, 2024
* master: (25 commits)
  lint
  update method
  fix unix path regex
  add back mixed_http_and_uds
  fix test
  update tests to match this new world order
  use uds
  Fix Intel case
  Purge circleci cache
  Udpate ffi to 1.17 for gemfiles/*lock
  Pin version across rubies
  Fix labeler
  Pin bundler version
  Improve naming for persistent_data arg for appsec waf
  [🤖] Lock Dependency: https://github.com/DataDog/dd-trace-rb/actions/runs/11611017851
  Update libddwaf gem to v1.15.0.0.0
  Add musl keys
  Reduce requirement to 2.27
  Implement requirement.json
  DEBUG-2334 DI benchmarks extracted from DataDog#4012 (DataDog#4049)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog dev/tooling Involves tools (e.g. Rubocop, CodeCov)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants