Skip to content

Conversation

igoragoli
Copy link
Contributor

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, 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

Copy link
Contributor

CODEOWNERS have been resolved as:

foo                                                                     @DataDog/apm-core-python
.gitlab/benchmarks/microbenchmarks.yml                                  @DataDog/python-guild @DataDog/apm-core-python

Copy link
Contributor

Bootstrap import analysis

Comparison of import times between this PR and base.

Summary

The average import time from this PR is: 272 ± 2 ms.

The average import time from base is: 274 ± 2 ms.

The import time difference between this PR and base is: -1.63 ± 0.08 ms.

Import time breakdown

The following import paths have shrunk:

ddtrace.auto 1.998 ms (0.73%)
ddtrace.bootstrap.sitecustomize 1.305 ms (0.48%)
ddtrace.bootstrap.preload 1.305 ms (0.48%)
ddtrace.internal.remoteconfig.client 0.649 ms (0.24%)
ddtrace 0.693 ms (0.25%)
ddtrace.internal._unpatched 0.053 ms (0.02%)
json 0.029 ms (0.01%)
json.decoder 0.029 ms (0.01%)
re 0.029 ms (0.01%)
enum 0.029 ms (0.01%)
types 0.029 ms (0.01%)
subprocess 0.023 ms (0.01%)
contextlib 0.023 ms (0.01%)

@pr-commenter
Copy link

pr-commenter bot commented Jul 16, 2025

Benchmarks

Benchmark execution time: 2025-07-16 12:40:05

Comparing candidate commit 38b42c0 in PR branch igoragoli/emit-metrics-to-datadog with baseline commit 1250b2f in branch main.

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

scenario:iastaspectsospath-ospathbasename_aspect

  • 🟥 execution_time [+740.731ns; +869.891ns] or [+17.355%; +20.382%]

scenario:iastaspectsospath-ospathnormcase_aspect

  • 🟥 execution_time [+324.550ns; +419.313ns] or [+9.271%; +11.978%]

@igoragoli igoragoli closed this Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant