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

fix(profiling): add debug asserts for our stack assumptions (#9689) [backport-2.10] #10065

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

taegyunkim
Copy link
Contributor

@taegyunkim taegyunkim commented Aug 2, 2024

Manual backport of #9689 to 2.10

Checklist

  • Change(s) are motivated and described in the PR description
  • Testing strategy is described if automated tests are not included in the PR
  • Risks are described (performance impact, potential for breakage, maintainability)
  • Change is maintainable (easy to change, telemetry, documentation)
  • Library release note guidelines are followed or label changelog/no-changelog is set
  • Documentation is included (in-code, generated user docs, public corp docs)
  • Backport labels are set (if applicable)
  • If this PR changes the public interface, I've notified @DataDog/apm-tees.

Reviewer Checklist

  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Description motivates each change
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Change is maintainable (easy to change, telemetry, documentation)
  • Release note makes sense to a user of the library
  • Author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance
    policy

(cherry picked from commit 0767725)

- [x] Change(s) are motivated and described in the PR description
- [x] Testing strategy is described if automated tests are not included
in the PR
- [x] Risks are described (performance impact, potential for breakage,
maintainability)
- [x] Change is maintainable (easy to change, telemetry, documentation)
- [x] [Library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
are followed or label `changelog/no-changelog` is set
- [x] Documentation is included (in-code, generated user docs, [public
corp docs](https://github.com/DataDog/documentation/))
- [x] Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))
- [x] If this PR changes the public interface, I've notified
`@DataDog/apm-tees`.

- [ ] Title is accurate
- [ ] All changes are related to the pull request's stated goal
- [ ] Description motivates each change
- [ ] Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes
- [ ] Testing strategy adequately addresses listed risks
- [ ] Change is maintainable (easy to change, telemetry, documentation)
- [ ] Release note makes sense to a user of the library
- [ ] Author has acknowledged and discussed the performance implications
of this PR as reported in the benchmarks PR comment
- [ ] Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

(cherry picked from commit 0767725)
@taegyunkim taegyunkim requested review from a team as code owners August 2, 2024 20:06
@taegyunkim taegyunkim added the Profiling Continous Profling label Aug 2, 2024
@taegyunkim taegyunkim added the changelog/no-changelog A changelog entry is not required for this PR. label Aug 2, 2024
@taegyunkim taegyunkim changed the title fix(profiling): add debug asserts for our stack assumptions (#9689) fix(profiling): add debug asserts for our stack assumptions (#9689) [backport-2.10] Aug 2, 2024
@taegyunkim taegyunkim closed this Aug 2, 2024
@taegyunkim taegyunkim reopened this Aug 2, 2024
@datadog-dd-trace-py-rkomorn
Copy link

datadog-dd-trace-py-rkomorn bot commented Aug 2, 2024

Datadog Report

Branch report: backport-9689-to-2.10
Commit report: 3d9b1d4
Test service: dd-trace-py

✅ 0 Failed, 175862 Passed, 2444 Skipped, 5h 35m 9.75s Total duration (4h 48m 41.93s time saved)
❄️ 1 New Flaky
⌛ 1 Performance Regression

New Flaky Tests (1)

  • test_span_schematization[my-service-v1] - test_graphql.py

⌛ Performance Regressions vs Default Branch (1)

  • test_global_config_service_env_precedence - test_requests.py 12.43s (+11.81s, +1917%) - Details

@pr-commenter
Copy link

pr-commenter bot commented Aug 2, 2024

Benchmarks

Benchmark execution time: 2024-08-02 21:13:10

Comparing candidate commit 3d9b1d4 in PR branch backport-9689-to-2.10 with baseline commit 337a2d5 in branch 2.10.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 221 metrics, 9 unstable metrics.

@taegyunkim taegyunkim enabled auto-merge (squash) August 5, 2024 15:50
@taegyunkim taegyunkim closed this Aug 5, 2024
auto-merge was automatically disabled August 5, 2024 18:35

Pull request was closed

@taegyunkim taegyunkim reopened this Aug 5, 2024
@taegyunkim taegyunkim enabled auto-merge (squash) August 5, 2024 18:35
@taegyunkim taegyunkim merged commit a554900 into 2.10 Aug 5, 2024
239 of 281 checks passed
@taegyunkim taegyunkim deleted the backport-9689-to-2.10 branch August 5, 2024 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog A changelog entry is not required for this PR. Profiling Continous Profling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants