Skip to content

chore: remove logic that uses import importlib_metadata#13809

Merged
brettlangdon merged 23 commits intomainfrom
mohammad/update_importlib_metadata
Aug 11, 2025
Merged

chore: remove logic that uses import importlib_metadata#13809
brettlangdon merged 23 commits intomainfrom
mohammad/update_importlib_metadata

Conversation

@chojomok
Copy link
Copy Markdown
Collaborator

@chojomok chojomok commented Jun 27, 2025

Remove importlib_metadata dependency since it is no longer needed. Support for Python 3.7 has been dropped, and dd-trace-py now requires Python 3.8 or later, which includes importlib.metadata in the standard library.

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

@chojomok chojomok requested review from a team as code owners June 27, 2025 19:24
@chojomok chojomok marked this pull request as draft June 27, 2025 19:24
@chojomok chojomok requested a review from quinna-h June 27, 2025 19:24
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 27, 2025

CODEOWNERS have been resolved as:

ddtrace/contrib/internal/elasticsearch/patch.py                         @DataDog/apm-core-python @DataDog/apm-idm-python
ddtrace/contrib/internal/pyramid/patch.py                               @DataDog/apm-core-python @DataDog/apm-idm-python
ddtrace/contrib/internal/pytest_bdd/patch.py                            @DataDog/ci-app-libraries
ddtrace/internal/gitmetadata.py                                         @DataDog/apm-core-python
ddtrace/internal/packages.py                                            @DataDog/apm-core-python
ddtrace/internal/products.py                                            @DataDog/apm-core-python
lib-injection/sources/requirements.csv                                  @DataDog/apm-core-python
pyproject.toml                                                          @DataDog/python-guild
requirements.csv                                                        @DataDog/apm-core-python
tests/appsec/integrations/flask_tests/utils.py                          @DataDog/asm-python
tests/contrib/integration_registry/registry_update_helpers/integration_registry_manager.py  @DataDog/apm-core-python @DataDog/apm-idm-python
tests/utils.py                                                          @DataDog/python-guild

@chojomok chojomok force-pushed the mohammad/update_importlib_metadata branch from cfbf3ed to e837e82 Compare June 27, 2025 19:40
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 27, 2025

Bootstrap import analysis

Comparison of import times between this PR and base.

Summary

The average import time from this PR is: 284 ± 5 ms.

The average import time from base is: 318 ± 10 ms.

The import time difference between this PR and base is: -33.8 ± 0.3 ms.

Import time breakdown

The following import paths have grown:

ddtrace.auto 0.082 ms (0.03%)
ddtrace.bootstrap.sitecustomize 0.082 ms (0.03%)
ddtrace.bootstrap.preload 0.082 ms (0.03%)
ddtrace.internal.products 0.082 ms (0.03%)
ddtrace.internal.uwsgi 0.082 ms (0.03%)

The following import paths have shrunk:

ddtrace.auto 32.927 ms (11.58%)
ddtrace 19.039 ms (6.70%)
ddtrace._logger 10.698 ms (3.76%)
ddtrace.internal.telemetry 9.855 ms (3.47%)
ddtrace.internal.telemetry.writer 4.771 ms (1.68%)
http.client 2.303 ms (0.81%)
email.parser 1.248 ms (0.44%)
email.feedparser 1.202 ms (0.42%)
email._policybase 1.127 ms (0.40%)
email.header 0.664 ms (0.23%)
email.base64mime 0.462 ms (0.16%)
base64 0.462 ms (0.16%)
binascii 0.066 ms (0.02%)
email.charset 0.059 ms (0.02%)
email.encoders 0.024 ms (0.01%)
quopri 0.024 ms (0.01%)
email.utils 0.418 ms (0.15%)
random 0.148 ms (0.05%)
bisect 0.048 ms (0.02%)
_bisect 0.048 ms (0.02%)
_random 0.020 ms (0.01%)
email._parseaddr 0.141 ms (0.05%)
calendar 0.103 ms (0.04%)
datetime 0.036 ms (0.01%)
_datetime 0.036 ms (0.01%)
email.errors 0.031 ms (0.01%)
email 0.020 ms (0.01%)
ssl 0.627 ms (0.22%)
_ssl 0.280 ms (0.10%)
email.message 0.154 ms (0.05%)
email._encoded_words 0.040 ms (0.01%)
http 0.099 ms (0.03%)
ddtrace.internal.telemetry.data 0.647 ms (0.23%)
ddtrace.internal.packages 0.331 ms (0.12%)
_sysconfigdata__linux_x86_64-linux-gnu 0.128 ms (0.05%)
ddtrace.settings.third_party 0.038 ms (0.01%)
ddtrace.internal.runtime.container 0.161 ms (0.06%)
sysconfig 0.088 ms (0.03%)
ddtrace.internal.hostname 0.018 ms (0.01%)
ddtrace.internal.runtime 0.302 ms (0.11%)
uuid 0.255 ms (0.09%)
platform 0.120 ms (0.04%)
_uuid 0.054 ms (0.02%)
ddtrace.internal.utils.http 0.276 ms (0.10%)
ddtrace.internal.periodic 0.219 ms (0.08%)
ddtrace.internal._threads 0.118 ms (0.04%)
ddtrace.internal.service 0.050 ms (0.02%)
ddtrace.internal.utils.version 0.207 ms (0.07%)
ddtrace.vendor.packaging.version 0.153 ms (0.05%)
ddtrace.version 0.025 ms (0.01%)
ddtrace.settings._telemetry 0.167 ms (0.06%)
ddtrace.settings._inferred_base_service 0.057 ms (0.02%)
ddtrace.internal.encoding 0.159 ms (0.06%)
ddtrace.internal._encoding 0.129 ms (0.05%)
ddtrace._trace._limits 0.021 ms (0.01%)
ddtrace.internal.telemetry.metrics_namespaces 0.127 ms (0.04%)
ddtrace.internal.atexit 0.114 ms (0.04%)
__future__ 0.059 ms (0.02%)
ddtrace.internal.utils.signals 0.022 ms (0.01%)
ddtrace.internal.utils.time 0.055 ms (0.02%)
ddtrace.internal.forksafe 0.044 ms (0.02%)
ddtrace.settings._agent 4.229 ms (1.49%)
ddtrace.settings 3.355 ms (1.18%)
ddtrace.vendor.debtcollector 3.330 ms (1.17%)
ddtrace.vendor 2.765 ms (0.97%)
ddtrace.internal.module 2.765 ms (0.97%)
ddtrace.internal.wrapping.context 2.677 ms (0.94%)
ddtrace.internal.wrapping 2.251 ms (0.79%)
bytecode 2.072 ms (0.73%)
bytecode.bytecode 1.625 ms (0.57%)
bytecode.flags 1.577 ms (0.55%)
bytecode.instr 1.429 ms (0.50%)
dataclasses 1.026 ms (0.36%)
inspect 0.917 ms (0.32%)
ast 0.656 ms (0.23%)
_ast 0.459 ms (0.16%)
copy 0.015 ms (0.01%)
dis 0.085 ms (0.03%)
bytecode.utils 0.073 ms (0.03%)
opcode 0.082 ms (0.03%)
_opcode 0.032 ms (0.01%)
bytecode.cfg 0.368 ms (0.13%)
bytecode.concrete 0.192 ms (0.07%)
struct 0.068 ms (0.02%)
_struct 0.047 ms (0.02%)
bytecode.version 0.044 ms (0.02%)
ddtrace.internal.wrapping.asyncs 0.079 ms (0.03%)
ddtrace.internal.assembly 0.040 ms (0.01%)
ddtrace.internal.utils.inspection 0.264 ms (0.09%)
ddtrace.internal.safety 0.215 ms (0.08%)
wrapt 0.161 ms (0.06%)
wrapt.__wrapt__ 0.126 ms (0.04%)
wrapt.wrappers 0.061 ms (0.02%)
wrapt._wrappers 0.043 ms (0.01%)
wrapt.importer 0.016 ms (0.01%)
ddtrace.internal.utils.cache 0.031 ms (0.01%)
contextvars 0.034 ms (0.01%)
_contextvars 0.034 ms (0.01%)
ddtrace.vendor.debtcollector._utils 0.315 ms (0.11%)
ddtrace.vendor.debtcollector.moves 0.106 ms (0.04%)
ddtrace.vendor.debtcollector.removals 0.057 ms (0.02%)
ddtrace.settings._core 0.439 ms (0.15%)
envier 0.174 ms (0.06%)
envier.env 0.152 ms (0.05%)
ddtrace.internal.native 0.172 ms (0.06%)
ddtrace.internal.native._native 0.138 ms (0.05%)
socket 0.360 ms (0.13%)
_socket 0.111 ms (0.04%)
array 0.074 ms (0.03%)
ddtrace.internal.utils.formats 0.568 ms (0.20%)
ddtrace.internal.compat 0.428 ms (0.15%)
pathlib 0.286 ms (0.10%)
urllib.parse 0.136 ms (0.05%)
fnmatch 0.015 ms (0.01%)
ntpath 0.011 ms (0.00%)
ipaddress 0.109 ms (0.04%)
ddtrace.internal.constants 0.072 ms (0.03%)
ddtrace.constants 0.045 ms (0.02%)
ddtrace.internal.utils 0.019 ms (0.01%)
ddtrace.internal.telemetry.constants 0.061 ms (0.02%)
ddtrace.settings._otel_remapper 0.059 ms (0.02%)
ddtrace.internal.logger 0.027 ms (0.01%)
logging 0.541 ms (0.19%)
traceback 0.243 ms (0.09%)
linecache 0.112 ms (0.04%)
tokenize 0.112 ms (0.04%)
textwrap 0.050 ms (0.02%)
weakref 0.047 ms (0.02%)
string 0.044 ms (0.02%)
atexit 0.009 ms (0.00%)
typing 0.271 ms (0.10%)
ddtrace.trace 2.923 ms (1.03%)
ddtrace._trace.filters 1.918 ms (0.67%)
ddtrace._trace.processor 1.918 ms (0.67%)
ddtrace.internal.writer 1.259 ms (0.44%)
ddtrace.internal.writer.writer 1.259 ms (0.44%)
ddtrace.internal.dogstatsd 0.524 ms (0.18%)
ddtrace.vendor.dogstatsd 0.480 ms (0.17%)
ddtrace.vendor.dogstatsd.base 0.455 ms (0.16%)
queue 0.166 ms (0.06%)
heapq 0.108 ms (0.04%)
_heapq 0.086 ms (0.03%)
_queue 0.028 ms (0.01%)
ddtrace.vendor.dogstatsd.context 0.059 ms (0.02%)
ddtrace.vendor.dogstatsd.context_async 0.028 ms (0.01%)
ddtrace.vendor.dogstatsd.container 0.045 ms (0.02%)
ddtrace.vendor.dogstatsd.format 0.024 ms (0.01%)
ddtrace.settings.asm 0.406 ms (0.14%)
ddtrace.internal.endpoints 0.167 ms (0.06%)
ddtrace.appsec._constants 0.109 ms (0.04%)
gzip 0.073 ms (0.03%)
ddtrace.internal.agent 0.051 ms (0.02%)
ddtrace._trace.sampler 0.547 ms (0.19%)
ddtrace._trace.span 0.297 ms (0.10%)
ddtrace._trace._span_pointer 0.077 ms (0.03%)
ddtrace.internal._rand 0.070 ms (0.02%)
ddtrace.internal.rate_limiter 0.111 ms (0.04%)
ddtrace.internal.sampling 0.099 ms (0.03%)
ddtrace._trace.sampling_rule 0.043 ms (0.01%)
ddtrace.internal.glob_matching 0.018 ms (0.01%)
ddtrace._trace.tracer 0.369 ms (0.13%)
ddtrace.internal.processor.endpoint_call_counter 0.103 ms (0.04%)
ddtrace.internal.debug 0.053 ms (0.02%)
ddtrace.internal.peer_service.processor 0.050 ms (0.02%)
ddtrace.internal.peer_service 0.017 ms (0.01%)
ddtrace.internal.schema.processor 0.023 ms (0.01%)
ddtrace._trace.context 0.268 ms (0.09%)
ddtrace._trace._span_link 0.117 ms (0.04%)
ddtrace._trace.types 0.036 ms (0.01%)
ddtrace._trace.pin 0.089 ms (0.03%)
ddtrace._trace.provider 0.027 ms (0.01%)
ddtrace.settings._config 2.131 ms (0.75%)
ddtrace.internal.gitmetadata 1.193 ms (0.42%)
ddtrace.ext.ci 1.152 ms (0.41%)
ddtrace.ext.git 1.052 ms (0.37%)
shutil 0.781 ms (0.27%)
bz2 0.075 ms (0.03%)
_bz2 0.040 ms (0.01%)
lzma 0.066 ms (0.02%)
_lzma 0.037 ms (0.01%)
zlib 0.063 ms (0.02%)
tempfile 0.100 ms (0.04%)
ddtrace.internal._file_queue 0.288 ms (0.10%)
secrets 0.257 ms (0.09%)
hmac 0.234 ms (0.08%)
_hashlib 0.113 ms (0.04%)
hashlib 0.093 ms (0.03%)
_blake2 0.037 ms (0.01%)
ddtrace.internal.schema 0.102 ms (0.04%)
ddtrace.internal.schema.span_attribute_schema 0.054 ms (0.02%)
ddtrace.settings.endpoint_config 0.097 ms (0.03%)
ddtrace.internal.utils.retry 0.064 ms (0.02%)
ddtrace.settings.integration 0.045 ms (0.02%)
ddtrace._hooks 0.023 ms (0.01%)
ddtrace.internal.serverless 0.023 ms (0.01%)
ddtrace.settings.http 0.021 ms (0.01%)
ddtrace.internal._unpatched 1.793 ms (0.63%)
subprocess 0.902 ms (0.32%)
contextlib 0.433 ms (0.15%)
locale 0.117 ms (0.04%)
_locale 0.018 ms (0.01%)
selectors 0.101 ms (0.04%)
math 0.023 ms (0.01%)
collections.abc 0.015 ms (0.01%)
fcntl 0.057 ms (0.02%)
signal 0.040 ms (0.01%)
warnings 0.027 ms (0.01%)
_posixsubprocess 0.015 ms (0.01%)
json 0.742 ms (0.26%)
json.decoder 0.694 ms (0.24%)
re 0.591 ms (0.21%)
enum 0.388 ms (0.14%)
functools 0.141 ms (0.05%)
collections 0.081 ms (0.03%)
types 0.082 ms (0.03%)
operator 0.034 ms (0.01%)
_operator 0.014 ms (0.00%)
re._compiler 0.143 ms (0.05%)
re._parser 0.066 ms (0.02%)
re._constants 0.026 ms (0.01%)
copyreg 0.020 ms (0.01%)
json.scanner 0.072 ms (0.03%)
_json 0.044 ms (0.02%)
json.encoder 0.026 ms (0.01%)
threading 0.121 ms (0.04%)
_weakrefset 0.016 ms (0.01%)
gc 0.007 ms (0.00%)
ddtrace._monkey 0.742 ms (0.26%)
ddtrace.appsec._listeners 0.315 ms (0.11%)
ddtrace.internal.core 0.257 ms (0.09%)
ddtrace.internal.core.event_hub 0.182 ms (0.06%)
ddtrace.appsec 0.022 ms (0.01%)
ddtrace.vendor.packaging.specifiers 0.266 ms (0.09%)
ddtrace.bootstrap.sitecustomize 13.888 ms (4.89%)
ddtrace.bootstrap.preload 11.563 ms (4.07%)
ddtrace.settings.profiling 1.646 ms (0.58%)
ddtrace.vendor.psutil 1.064 ms (0.37%)
ddtrace.vendor.psutil._pslinux 0.529 ms (0.19%)
glob 0.076 ms (0.03%)
ddtrace.vendor.psutil._psutil_linux 0.058 ms (0.02%)
ddtrace.vendor.psutil._psposix 0.026 ms (0.01%)
ddtrace.vendor.psutil._common 0.209 ms (0.07%)
ddtrace.vendor.psutil._compat 0.078 ms (0.03%)
pwd 0.013 ms (0.00%)
ddtrace.internal.datadog.profiling.ddup 0.230 ms (0.08%)
ddtrace.internal.datadog.profiling.ddup._ddup 0.208 ms (0.07%)
ddtrace.internal.datadog.profiling.code_provenance 0.037 ms (0.01%)
ddtrace.internal.datadog.profiling.util 0.024 ms (0.01%)
ddtrace.internal.datadog.profiling._types 0.018 ms (0.01%)
ddtrace.internal.datadog.profiling 0.103 ms (0.04%)
ddtrace.internal.datadog 0.047 ms (0.02%)
ddtrace.internal.datadog.profiling.stack_v2 0.081 ms (0.03%)
ddtrace.internal.datadog.profiling.stack_v2._stack_v2 0.060 ms (0.02%)
ddtrace.internal.products 1.618 ms (0.57%)
importlib.metadata 1.465 ms (0.52%)
zipfile 0.855 ms (0.30%)
zipfile._path 0.147 ms (0.05%)
zipfile._path.glob 0.049 ms (0.02%)
importlib.abc 0.173 ms (0.06%)
importlib.resources 0.142 ms (0.05%)
importlib.resources._common 0.142 ms (0.05%)
importlib.resources.abc 0.054 ms (0.02%)
importlib.resources._adapters 0.028 ms (0.01%)
csv 0.120 ms (0.04%)
_csv 0.068 ms (0.02%)
importlib.metadata._meta 0.045 ms (0.02%)
importlib.metadata._adapters 0.041 ms (0.01%)
importlib.metadata._collections 0.036 ms (0.01%)
ddtrace.internal.remoteconfig.client 1.235 ms (0.43%)
multiprocessing 0.965 ms (0.34%)
multiprocessing.context 0.938 ms (0.33%)
multiprocessing.reduction 0.821 ms (0.29%)
pickle 0.764 ms (0.27%)
_pickle 0.562 ms (0.20%)
_compat_pickle 0.041 ms (0.01%)
multiprocessing.process 0.060 ms (0.02%)
ddtrace.internal.core.crashtracking 0.576 ms (0.20%)
ddtrace.internal.symbol_db.remoteconfig 0.531 ms (0.19%)
ddtrace.internal.symbol_db.symbols 0.374 ms (0.13%)
ddtrace.settings.symbol_db 0.063 ms (0.02%)
ddtrace.appsec._remoteconfiguration 0.405 ms (0.14%)
ddtrace.appsec._capabilities 0.160 ms (0.06%)
ddtrace.internal.remoteconfig._connectors 0.351 ms (0.12%)
ctypes 0.290 ms (0.10%)
_ctypes 0.111 ms (0.04%)
ctypes._endian 0.047 ms (0.02%)
ddtrace.internal.flare.flare 0.334 ms (0.12%)
logging.handlers 0.150 ms (0.05%)
ddtrace.internal.flare 0.027 ms (0.01%)
multiprocessing.sharedctypes 0.294 ms (0.10%)
multiprocessing.heap 0.194 ms (0.07%)
multiprocessing.util 0.076 ms (0.03%)
mmap 0.073 ms (0.03%)
ddtrace.debugging._import 0.247 ms (0.09%)
ddtrace.debugging._function.discovery 0.172 ms (0.06%)
ddtrace.debugging._function 0.022 ms (0.01%)
ddtrace.internal.runtime.runtime_metrics 0.151 ms (0.05%)
ddtrace.internal.runtime.metric_collectors 0.028 ms (0.01%)
ddtrace.internal.runtime.constants 0.025 ms (0.01%)
ddtrace.settings.dynamic_instrumentation 0.109 ms (0.04%)
ddtrace.internal.remoteconfig.worker 0.108 ms (0.04%)
ddtrace.internal.remoteconfig._pubsub 0.061 ms (0.02%)
ddtrace.internal.remoteconfig._subscribers 0.031 ms (0.01%)
ddtrace.settings.crashtracker 0.045 ms (0.02%)
ddtrace.internal.flare.handler 0.039 ms (0.01%)
ddtrace.settings.code_origin 0.037 ms (0.01%)
ddtrace.internal.remoteconfig._publishers 0.033 ms (0.01%)
ddtrace.internal.flare._subscribers 0.030 ms (0.01%)
ddtrace.settings.errortracking 0.022 ms (0.01%)
uwsgi 0.017 ms (0.01%)
ddtrace.appsec._common_module_patches 0.852 ms (0.30%)
ddtrace.appsec._asm_request_context 0.704 ms (0.25%)
ddtrace.appsec._utils 0.114 ms (0.04%)
ddtrace.appsec._metrics 0.058 ms (0.02%)
ddtrace._trace.trace_handlers 0.762 ms (0.27%)
ddtrace._trace._inferred_proxy 0.325 ms (0.11%)
ddtrace.propagation.http 0.282 ms (0.10%)
ddtrace.internal._tagset 0.066 ms (0.02%)
ddtrace.propagation._utils 0.027 ms (0.01%)
ddtrace.propagation 0.022 ms (0.01%)
ddtrace.contrib.trace_utils 0.259 ms (0.09%)
ddtrace.contrib.internal.trace_utils 0.189 ms (0.07%)
ddtrace.contrib.internal.trace_utils_base 0.079 ms (0.03%)
ddtrace.contrib.internal.redis_utils 0.037 ms (0.01%)
ddtrace._trace.utils 0.020 ms (0.01%)
shlex 0.083 ms (0.03%)
ddtrace.bootstrap 0.046 ms (0.02%)

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Jul 1, 2025

Benchmarks

Benchmark execution time: 2025-07-08 21:18:55

Comparing candidate commit 1031720 in PR branch mohammad/update_importlib_metadata with baseline commit 9cc7814 in branch main.

Found 46 performance improvements and 3 performance regressions! Performance is the same for 436 metrics, 3 unstable metrics.

scenario:djangosimple-appsec

  • 🟩 execution_time [-7.290ms; -7.188ms] or [-33.885%; -33.410%]
  • 🟩 max_rss_usage [-13.226MB; -13.041MB] or [-20.718%; -20.428%]

scenario:djangosimple-exception-replay-enabled

  • 🟩 execution_time [-811.122µs; -795.343µs] or [-59.673%; -58.512%]
  • 🟩 max_rss_usage [-13.606MB; -13.369MB] or [-21.545%; -21.170%]

scenario:djangosimple-iast

  • 🟩 execution_time [-7.338ms; -7.240ms] or [-34.068%; -33.609%]
  • 🟩 max_rss_usage [-13.189MB; -12.960MB] or [-20.659%; -20.301%]

scenario:djangosimple-span-code-origin

  • 🟩 execution_time [-12.986ms; -12.866ms] or [-47.763%; -47.321%]
  • 🟩 max_rss_usage [-16.028MB; -15.802MB] or [-24.044%; -23.705%]

scenario:djangosimple-tracer

  • 🟩 execution_time [-7.316ms; -7.221ms] or [-33.960%; -33.517%]
  • 🟩 max_rss_usage [-13.104MB; -12.927MB] or [-20.546%; -20.268%]

scenario:djangosimple-tracer-and-profiler

  • 🟩 execution_time [-8.187ms; -8.058ms] or [-34.216%; -33.680%]
  • 🟩 max_rss_usage [-13.169MB; -12.862MB] or [-20.211%; -19.741%]

scenario:djangosimple-tracer-no-caches

  • 🟩 execution_time [-4.668ms; -4.551ms] or [-24.705%; -24.086%]
  • 🟩 max_rss_usage [-13.270MB; -12.996MB] or [-20.794%; -20.365%]

scenario:djangosimple-tracer-no-databases

  • 🟩 execution_time [-5.037ms; -4.948ms] or [-26.103%; -25.641%]
  • 🟩 max_rss_usage [-13.155MB; -12.994MB] or [-20.626%; -20.373%]

scenario:djangosimple-tracer-no-middleware

  • 🟩 execution_time [-7.035ms; -6.927ms] or [-33.100%; -32.596%]
  • 🟩 max_rss_usage [-13.123MB; -12.869MB] or [-20.582%; -20.183%]

scenario:djangosimple-tracer-no-templates

  • 🟩 execution_time [-7.147ms; -7.049ms] or [-33.499%; -33.038%]
  • 🟩 max_rss_usage [-13.104MB; -12.849MB] or [-20.545%; -20.145%]

scenario:errortrackingdjangosimple-errortracking-enabled-all

  • 🟩 execution_time [-4.707ms; -4.585ms] or [-25.238%; -24.583%]
  • 🟩 max_rss_usage [-13.043MB; -12.791MB] or [-20.469%; -20.074%]

scenario:errortrackingdjangosimple-errortracking-enabled-user

  • 🟩 execution_time [-4.729ms; -4.635ms] or [-25.387%; -24.886%]
  • 🟩 max_rss_usage [-13.223MB; -12.965MB] or [-20.706%; -20.303%]

scenario:errortrackingdjangosimple-tracer-enabled

  • 🟩 execution_time [-4.700ms; -4.581ms] or [-25.202%; -24.566%]
  • 🟩 max_rss_usage [-13.091MB; -12.853MB] or [-20.534%; -20.159%]

scenario:errortrackingflasksqli-errortracking-enabled-all

  • 🟩 execution_time [-1.477ms; -1.468ms] or [-68.851%; -68.449%]
  • 🟩 max_rss_usage [-7.891MB; -7.680MB] or [-15.360%; -14.950%]

scenario:errortrackingflasksqli-errortracking-enabled-user

  • 🟩 execution_time [-1.477ms; -1.469ms] or [-68.696%; -68.309%]
  • 🟩 max_rss_usage [-7.773MB; -7.562MB] or [-15.165%; -14.754%]

scenario:errortrackingflasksqli-tracer-enabled

  • 🟩 execution_time [-1.482ms; -1.473ms] or [-68.865%; -68.448%]
  • 🟩 max_rss_usage [-7.855MB; -7.638MB] or [-15.301%; -14.879%]

scenario:flasksimple-appsec-get

  • 🟩 execution_time [-2.796ms; -2.780ms] or [-60.213%; -59.884%]
  • 🟩 max_rss_usage [-16.172MB; -15.933MB] or [-26.116%; -25.729%]

scenario:flasksimple-appsec-post

  • 🟩 execution_time [-5.106ms; -5.091ms] or [-76.728%; -76.508%]
  • 🟩 max_rss_usage [-16.250MB; -16.012MB] or [-26.217%; -25.833%]

scenario:flasksimple-appsec-telemetry

  • 🟩 execution_time [-2.804ms; -2.784ms] or [-60.283%; -59.857%]
  • 🟩 max_rss_usage [-16.110MB; -15.883MB] or [-26.019%; -25.653%]

scenario:flasksimple-tracer

  • 🟩 execution_time [-1.563ms; -1.555ms] or [-45.724%; -45.486%]
  • 🟩 max_rss_usage [-7.878MB; -7.772MB] or [-15.305%; -15.099%]

scenario:flasksqli-appsec-enabled

  • 🟩 execution_time [-3.397ms; -3.384ms] or [-83.686%; -83.373%]
  • 🟩 max_rss_usage [-16.505MB; -16.289MB] or [-26.541%; -26.193%]

scenario:flasksqli-iast-enabled

  • 🟩 execution_time [-1.946ms; -1.919ms] or [-74.696%; -73.646%]
  • 🟩 max_rss_usage [-8.411MB; -8.261MB] or [-14.844%; -14.580%]

scenario:flasksqli-tracer-enabled

  • 🟩 execution_time [-1.479ms; -1.471ms] or [-69.043%; -68.653%]
  • 🟩 max_rss_usage [-7.815MB; -7.599MB] or [-15.236%; -14.814%]

scenario:iastaspectsospath-ospathbasename_aspect

  • 🟥 execution_time [+723.348ns; +841.478ns] or [+16.934%; +19.699%]

scenario:iastaspectsospath-ospathjoin_aspect

  • 🟥 execution_time [+855.599ns; +992.797ns] or [+13.936%; +16.171%]

scenario:iastaspectsospath-ospathsplitdrive_aspect

  • 🟥 execution_time [+442.207ns; +498.523ns] or [+11.940%; +13.461%]

Comment thread ddtrace/internal/packages.py
Comment thread ddtrace/internal/packages.py
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Jul 21, 2025

Performance SLOs

Candidate: mohammad/update_importlib_metadata (25c4289)

🔵 No Baseline Data (24 suites)
🔵 coreapiscenario - 12/12 (2 unstable)

🔵 No baseline data available for this suite

⚠️ context_with_data_listeners

Time: ⚠️ 13.792µs (SLO: <20.000µs 📉 -31.0%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


✅ context_with_data_no_listeners

Time: ✅ 3.805µs (SLO: <10.000µs 📉 -61.9%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


⚠️ context_with_data_only_all_listeners

Time: ⚠️ 13.851µs (SLO: <20.000µs 📉 -30.7%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


✅ get_item_exists

Time: ✅ 0.630µs (SLO: <10.000µs 📉 -93.7%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ get_item_missing

Time: ✅ 0.684µs (SLO: <10.000µs 📉 -93.2%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ set_item

Time: ✅ 25.294µs (SLO: <30.000µs 📉 -15.7%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


🔵 djangosimple - 22/22

🔵 No baseline data available for this suite

✅ appsec

Time: ✅ 21.211ms (SLO: <22.300ms -4.9%)

Memory: ✅ 63.244MB (SLO: <65.500MB -3.4%)


✅ exception-replay-enabled

Time: ✅ 1.369ms (SLO: <1.450ms -5.6%)

Memory: ✅ 62.620MB (SLO: <65.500MB -4.4%)


✅ iast

Time: ✅ 21.326ms (SLO: <22.250ms -4.2%)

Memory: ✅ 63.261MB (SLO: <65.500MB -3.4%)


✅ profiler

Time: ✅ 15.306ms (SLO: <16.550ms -7.5%)

Memory: ✅ 51.192MB (SLO: <53.000MB -3.4%)


✅ span-code-origin

Time: ✅ 27.015ms (SLO: <28.200ms -4.2%)

Memory: ✅ 65.510MB (SLO: <68.000MB -3.7%)


✅ tracer

Time: ✅ 21.309ms (SLO: <22.700ms -6.1%)

Memory: ✅ 63.280MB (SLO: <65.500MB -3.4%)


✅ tracer-and-profiler

Time: ✅ 23.381ms (SLO: <24.900ms -6.1%)

Memory: ✅ 64.217MB (SLO: <67.000MB -4.2%)


✅ tracer-no-caches

Time: ✅ 18.897ms (SLO: <19.650ms -3.8%)

Memory: ✅ 63.273MB (SLO: <65.500MB -3.4%)


✅ tracer-no-databases

Time: ✅ 19.161ms (SLO: <20.100ms -4.7%)

Memory: ✅ 63.301MB (SLO: <65.500MB -3.4%)


✅ tracer-no-middleware

Time: ✅ 21.088ms (SLO: <22.500ms -6.3%)

Memory: ✅ 63.234MB (SLO: <65.500MB -3.5%)


✅ tracer-no-templates

Time: ✅ 21.008ms (SLO: <22.250ms -5.6%)

Memory: ✅ 63.244MB (SLO: <65.500MB -3.4%)


🔵 errortrackingdjangosimple - 6/6

🔵 No baseline data available for this suite

✅ errortracking-enabled-all

Time: ✅ 18.598ms (SLO: <19.850ms -6.3%)

Memory: ✅ 63.288MB (SLO: <65.500MB -3.4%)


✅ errortracking-enabled-user

Time: ✅ 18.565ms (SLO: <19.400ms -4.3%)

Memory: ✅ 63.288MB (SLO: <65.500MB -3.4%)


✅ tracer-enabled

Time: ✅ 18.565ms (SLO: <19.450ms -4.6%)

Memory: ✅ 63.240MB (SLO: <65.500MB -3.4%)


🔵 errortrackingflasksqli - 6/6

🔵 No baseline data available for this suite

✅ errortracking-enabled-all

Time: ✅ 2.125ms (SLO: <2.300ms -7.6%)

Memory: ✅ 50.373MB (SLO: <53.000MB -5.0%)


✅ errortracking-enabled-user

Time: ✅ 2.128ms (SLO: <2.250ms -5.4%)

Memory: ✅ 50.339MB (SLO: <53.000MB -5.0%)


✅ tracer-enabled

Time: ✅ 2.125ms (SLO: <2.300ms -7.6%)

Memory: ✅ 50.277MB (SLO: <53.000MB -5.1%)


🔵 flasksimple - 14/14

🔵 No baseline data available for this suite

✅ appsec-get

Time: ✅ 4.606ms (SLO: <4.750ms -3.0%)

Memory: ✅ 61.833MB (SLO: <64.000MB -3.4%)


✅ appsec-post

Time: ✅ 6.639ms (SLO: <6.750ms 🟡 -1.6%)

Memory: ✅ 61.932MB (SLO: <64.000MB -3.2%)


✅ appsec-telemetry

Time: ✅ 4.608ms (SLO: <4.750ms -3.0%)

Memory: ✅ 61.833MB (SLO: <64.000MB -3.4%)


✅ debugger

Time: ✅ 1.853ms (SLO: <2.000ms -7.3%)

Memory: ✅ 44.017MB (SLO: <44.000MB ~same)


✅ iast-get

Time: ✅ 1.856ms (SLO: <2.000ms -7.2%)

Memory: ✅ 46.399MB (SLO: <49.000MB -5.3%)


✅ profiler

Time: ✅ 1.920ms (SLO: <2.100ms -8.6%)

Memory: ✅ 43.981MB (SLO: <44.000MB 🟡 ~same)


✅ tracer

Time: ✅ 3.405ms (SLO: <3.650ms -6.7%)

Memory: ✅ 50.565MB (SLO: <53.000MB -4.6%)


🔵 flasksqli - 6/6

🔵 No baseline data available for this suite

✅ appsec-enabled

Time: ✅ 3.987ms (SLO: <4.200ms -5.1%)

Memory: ✅ 62.110MB (SLO: <66.000MB -5.9%)


✅ iast-enabled

Time: ✅ 2.574ms (SLO: <2.800ms -8.1%)

Memory: ✅ 57.214MB (SLO: <58.000MB 🟡 -1.4%)


✅ tracer-enabled

Time: ✅ 2.110ms (SLO: <2.250ms -6.2%)

Memory: ✅ 50.356MB (SLO: <53.000MB -5.0%)


🔵 httppropagationextract - 60/60

🔵 No baseline data available for this suite

✅ all_styles_all_headers

Time: ✅ 83.628µs (SLO: <100.000µs 📉 -16.4%)

Memory: ✅ 31.123MB (SLO: <33.000MB -5.7%)


✅ b3_headers

Time: ✅ 14.444µs (SLO: <20.000µs 📉 -27.8%)

Memory: ✅ 30.828MB (SLO: <33.000MB -6.6%)


✅ b3_single_headers

Time: ✅ 14.280µs (SLO: <20.000µs 📉 -28.6%)

Memory: ✅ 30.730MB (SLO: <33.000MB -6.9%)


✅ datadog_tracecontext_tracestate_not_propagated_on_trace_id_no_match

Time: ✅ 65.259µs (SLO: <80.000µs 📉 -18.4%)

Memory: ✅ 31.064MB (SLO: <33.000MB -5.9%)


✅ datadog_tracecontext_tracestate_propagated_on_trace_id_match

Time: ✅ 69.354µs (SLO: <80.000µs 📉 -13.3%)

Memory: ✅ 31.084MB (SLO: <33.000MB -5.8%)


✅ empty_headers

Time: ✅ 1.606µs (SLO: <10.000µs 📉 -83.9%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ full_t_id_datadog_headers

Time: ✅ 24.211µs (SLO: <30.000µs 📉 -19.3%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ invalid_priority_header

Time: ✅ 6.519µs (SLO: <10.000µs 📉 -34.8%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


✅ invalid_span_id_header

Time: ✅ 6.514µs (SLO: <10.000µs 📉 -34.9%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


✅ invalid_tags_header

Time: ✅ 6.505µs (SLO: <10.000µs 📉 -35.0%)

Memory: ✅ 30.749MB (SLO: <33.000MB -6.8%)


✅ invalid_trace_id_header

Time: ✅ 6.567µs (SLO: <10.000µs 📉 -34.3%)

Memory: ✅ 30.691MB (SLO: <33.000MB -7.0%)


✅ large_header_no_matches

Time: ✅ 27.519µs (SLO: <30.000µs -8.3%)

Memory: ✅ 30.749MB (SLO: <33.000MB -6.8%)


✅ large_valid_headers_all

Time: ✅ 28.810µs (SLO: <40.000µs 📉 -28.0%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ medium_header_no_matches

Time: ✅ 9.839µs (SLO: <20.000µs 📉 -50.8%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


✅ medium_valid_headers_all

Time: ✅ 11.267µs (SLO: <20.000µs 📉 -43.7%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ none_propagation_style

Time: ✅ 1.706µs (SLO: <10.000µs 📉 -82.9%)

Memory: ✅ 30.632MB (SLO: <33.000MB -7.2%)


✅ tracecontext_headers

Time: ✅ 34.746µs (SLO: <40.000µs 📉 -13.1%)

Memory: ✅ 30.985MB (SLO: <33.000MB -6.1%)


✅ valid_headers_all

Time: ✅ 6.527µs (SLO: <10.000µs 📉 -34.7%)

Memory: ✅ 30.749MB (SLO: <33.000MB -6.8%)


✅ valid_headers_basic

Time: ✅ 6.071µs (SLO: <10.000µs 📉 -39.3%)

Memory: ✅ 30.907MB (SLO: <33.000MB -6.3%)


✅ wsgi_empty_headers

Time: ✅ 1.594µs (SLO: <10.000µs 📉 -84.1%)

Memory: ✅ 30.730MB (SLO: <33.000MB -6.9%)


✅ wsgi_invalid_priority_header

Time: ✅ 6.561µs (SLO: <10.000µs 📉 -34.4%)

Memory: ✅ 30.691MB (SLO: <33.000MB -7.0%)


✅ wsgi_invalid_span_id_header

Time: ✅ 1.593µs (SLO: <10.000µs 📉 -84.1%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


✅ wsgi_invalid_tags_header

Time: ✅ 6.568µs (SLO: <10.000µs 📉 -34.3%)

Memory: ✅ 30.691MB (SLO: <33.000MB -7.0%)


✅ wsgi_invalid_trace_id_header

Time: ✅ 6.584µs (SLO: <10.000µs 📉 -34.2%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ wsgi_large_header_no_matches

Time: ✅ 28.754µs (SLO: <40.000µs 📉 -28.1%)

Memory: ✅ 31.025MB (SLO: <33.000MB -6.0%)


✅ wsgi_large_valid_headers_all

Time: ✅ 29.788µs (SLO: <40.000µs 📉 -25.5%)

Memory: ✅ 31.044MB (SLO: <33.000MB -5.9%)


✅ wsgi_medium_header_no_matches

Time: ✅ 10.101µs (SLO: <20.000µs 📉 -49.5%)

Memory: ✅ 30.651MB (SLO: <33.000MB -7.1%)


✅ wsgi_medium_valid_headers_all

Time: ✅ 11.545µs (SLO: <20.000µs 📉 -42.3%)

Memory: ✅ 30.730MB (SLO: <33.000MB -6.9%)


✅ wsgi_valid_headers_all

Time: ✅ 6.551µs (SLO: <10.000µs 📉 -34.5%)

Memory: ✅ 30.691MB (SLO: <33.000MB -7.0%)


✅ wsgi_valid_headers_basic

Time: ✅ 6.083µs (SLO: <10.000µs 📉 -39.2%)

Memory: ✅ 30.710MB (SLO: <33.000MB -6.9%)


🔵 httppropagationinject - 16/16

🔵 No baseline data available for this suite

✅ ids_only

Time: ✅ 20.192µs (SLO: <30.000µs 📉 -32.7%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ with_all

Time: ✅ 34.984µs (SLO: <40.000µs 📉 -12.5%)

Memory: ✅ 30.632MB (SLO: <33.000MB -7.2%)


✅ with_dd_origin

Time: ✅ 26.547µs (SLO: <30.000µs 📉 -11.5%)

Memory: ✅ 30.612MB (SLO: <33.000MB -7.2%)


✅ with_priority_and_origin

Time: ✅ 29.318µs (SLO: <40.000µs 📉 -26.7%)

Memory: ✅ 30.671MB (SLO: <33.000MB -7.1%)


✅ with_sampling_priority

Time: ✅ 23.108µs (SLO: <30.000µs 📉 -23.0%)

Memory: ✅ 30.769MB (SLO: <33.000MB -6.8%)


✅ with_tags

Time: ✅ 28.317µs (SLO: <40.000µs 📉 -29.2%)

Memory: ✅ 30.710MB (SLO: <33.000MB -6.9%)


✅ with_tags_invalid

Time: ✅ 30.944µs (SLO: <40.000µs 📉 -22.6%)

Memory: ✅ 30.710MB (SLO: <33.000MB -6.9%)


✅ with_tags_max_size

Time: ✅ 28.307µs (SLO: <40.000µs 📉 -29.2%)

Memory: ✅ 30.710MB (SLO: <33.000MB -6.9%)


🔵 iast_aspects - 40/40

🔵 No baseline data available for this suite

✅ re_expand_aspect

Time: ✅ 33.427µs (SLO: <40.000µs 📉 -16.4%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_expand_noaspect

Time: ✅ 28.240µs (SLO: <40.000µs 📉 -29.4%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_findall_aspect

Time: ✅ 3.705µs (SLO: <10.000µs 📉 -62.9%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_findall_noaspect

Time: ✅ 1.404µs (SLO: <10.000µs 📉 -86.0%)

Memory: ✅ 36.530MB (SLO: <38.500MB -5.1%)


✅ re_finditer_aspect

Time: ✅ 5.135µs (SLO: <10.000µs 📉 -48.6%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_finditer_noaspect

Time: ✅ 1.418µs (SLO: <10.000µs 📉 -85.8%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_fullmatch_aspect

Time: ✅ 3.387µs (SLO: <10.000µs 📉 -66.1%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_fullmatch_noaspect

Time: ✅ 1.294µs (SLO: <10.000µs 📉 -87.1%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_group_aspect

Time: ✅ 3.444µs (SLO: <10.000µs 📉 -65.6%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_group_noaspect

Time: ✅ 1.612µs (SLO: <10.000µs 📉 -83.9%)

Memory: ✅ 36.530MB (SLO: <38.500MB -5.1%)


✅ re_groups_aspect

Time: ✅ 3.562µs (SLO: <10.000µs 📉 -64.4%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_groups_noaspect

Time: ✅ 1.687µs (SLO: <10.000µs 📉 -83.1%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_match_aspect

Time: ✅ 3.423µs (SLO: <10.000µs 📉 -65.8%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_match_noaspect

Time: ✅ 1.297µs (SLO: <10.000µs 📉 -87.0%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_search_aspect

Time: ✅ 3.284µs (SLO: <10.000µs 📉 -67.2%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_search_noaspect

Time: ✅ 1.209µs (SLO: <10.000µs 📉 -87.9%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_sub_aspect

Time: ✅ 4.670µs (SLO: <10.000µs 📉 -53.3%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_sub_noaspect

Time: ✅ 1.522µs (SLO: <10.000µs 📉 -84.8%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


✅ re_subn_aspect

Time: ✅ 4.892µs (SLO: <10.000µs 📉 -51.1%)

Memory: ✅ 36.549MB (SLO: <38.500MB -5.1%)


✅ re_subn_noaspect

Time: ✅ 1.608µs (SLO: <10.000µs 📉 -83.9%)

Memory: ✅ 36.569MB (SLO: <38.500MB -5.0%)


🔵 iastaspects - 118/118

🔵 No baseline data available for this suite

✅ add_aspect

Time: ✅ 0.331µs (SLO: <10.000µs 📉 -96.7%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ add_inplace_aspect

Time: ✅ 0.328µs (SLO: <10.000µs 📉 -96.7%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ add_inplace_noaspect

Time: ✅ 0.315µs (SLO: <10.000µs 📉 -96.8%)

Memory: ✅ 36.530MB (SLO: <39.000MB -6.3%)


✅ add_noaspect

Time: ✅ 0.274µs (SLO: <10.000µs 📉 -97.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ bytearray_aspect

Time: ✅ 1.847µs (SLO: <10.000µs 📉 -81.5%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ bytearray_extend_aspect

Time: ✅ 1.378µs (SLO: <10.000µs 📉 -86.2%)

Memory: ✅ 36.530MB (SLO: <39.000MB -6.3%)


✅ bytearray_extend_noaspect

Time: ✅ 0.610µs (SLO: <10.000µs 📉 -93.9%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ bytearray_noaspect

Time: ✅ 0.484µs (SLO: <10.000µs 📉 -95.2%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ bytes_aspect

Time: ✅ 1.853µs (SLO: <10.000µs 📉 -81.5%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ bytes_noaspect

Time: ✅ 0.494µs (SLO: <10.000µs 📉 -95.1%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ bytesio_aspect

Time: ✅ 1.884µs (SLO: <10.000µs 📉 -81.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ bytesio_noaspect

Time: ✅ 0.501µs (SLO: <10.000µs 📉 -95.0%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ capitalize_aspect

Time: ✅ 0.737µs (SLO: <10.000µs 📉 -92.6%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ capitalize_noaspect

Time: ✅ 0.438µs (SLO: <10.000µs 📉 -95.6%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


✅ casefold_aspect

Time: ✅ 0.734µs (SLO: <10.000µs 📉 -92.7%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ casefold_noaspect

Time: ✅ 0.365µs (SLO: <10.000µs 📉 -96.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ decode_aspect

Time: ✅ 0.727µs (SLO: <10.000µs 📉 -92.7%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ decode_noaspect

Time: ✅ 0.420µs (SLO: <10.000µs 📉 -95.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ encode_aspect

Time: ✅ 0.708µs (SLO: <10.000µs 📉 -92.9%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ encode_noaspect

Time: ✅ 0.396µs (SLO: <10.000µs 📉 -96.0%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ format_aspect

Time: ✅ 3.451µs (SLO: <10.000µs 📉 -65.5%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ format_map_aspect

Time: ✅ 3.354µs (SLO: <10.000µs 📉 -66.5%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ format_map_noaspect

Time: ✅ 0.772µs (SLO: <10.000µs 📉 -92.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ format_noaspect

Time: ✅ 0.591µs (SLO: <10.000µs 📉 -94.1%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ index_aspect

Time: ✅ 0.342µs (SLO: <10.000µs 📉 -96.6%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ index_noaspect

Time: ✅ 0.276µs (SLO: <10.000µs 📉 -97.2%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ join_aspect

Time: ✅ 1.237µs (SLO: <10.000µs 📉 -87.6%)

Memory: ✅ 36.510MB (SLO: <39.000MB -6.4%)


✅ join_noaspect

Time: ✅ 0.494µs (SLO: <10.000µs 📉 -95.1%)

Memory: ✅ 36.530MB (SLO: <39.000MB -6.3%)


✅ ljust_aspect

Time: ✅ 10.350µs (SLO: <20.000µs 📉 -48.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ljust_noaspect

Time: ✅ 0.402µs (SLO: <10.000µs 📉 -96.0%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ lower_aspect

Time: ✅ 2.274µs (SLO: <10.000µs 📉 -77.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ lower_noaspect

Time: ✅ 0.367µs (SLO: <10.000µs 📉 -96.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ lstrip_aspect

Time: ✅ 10.444µs (SLO: <20.000µs 📉 -47.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ lstrip_noaspect

Time: ✅ 0.379µs (SLO: <10.000µs 📉 -96.2%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ modulo_aspect

Time: ✅ 0.581µs (SLO: <10.000µs 📉 -94.2%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ modulo_aspect_for_bytearray_bytearray

Time: ✅ 1.260µs (SLO: <10.000µs 📉 -87.4%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ modulo_aspect_for_bytes

Time: ✅ 0.769µs (SLO: <10.000µs 📉 -92.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ modulo_aspect_for_bytes_bytearray

Time: ✅ 1.017µs (SLO: <10.000µs 📉 -89.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ modulo_noaspect

Time: ✅ 0.629µs (SLO: <10.000µs 📉 -93.7%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ replace_aspect

Time: ✅ 4.749µs (SLO: <10.000µs 📉 -52.5%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ replace_noaspect

Time: ✅ 0.458µs (SLO: <10.000µs 📉 -95.4%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ repr_aspect

Time: ✅ 0.905µs (SLO: <10.000µs 📉 -91.0%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ repr_noaspect

Time: ✅ 0.414µs (SLO: <10.000µs 📉 -95.9%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ rstrip_aspect

Time: ✅ 10.271µs (SLO: <20.000µs 📉 -48.6%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


✅ rstrip_noaspect

Time: ✅ 0.381µs (SLO: <10.000µs 📉 -96.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ slice_aspect

Time: ✅ 0.481µs (SLO: <10.000µs 📉 -95.2%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ slice_noaspect

Time: ✅ 0.447µs (SLO: <10.000µs 📉 -95.5%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ stringio_aspect

Time: ✅ 2.173µs (SLO: <10.000µs 📉 -78.3%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ stringio_noaspect

Time: ✅ 0.717µs (SLO: <10.000µs 📉 -92.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ strip_aspect

Time: ✅ 10.361µs (SLO: <20.000µs 📉 -48.2%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


✅ strip_noaspect

Time: ✅ 0.381µs (SLO: <10.000µs 📉 -96.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ swapcase_aspect

Time: ✅ 2.498µs (SLO: <10.000µs 📉 -75.0%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ swapcase_noaspect

Time: ✅ 0.532µs (SLO: <10.000µs 📉 -94.7%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ title_aspect

Time: ✅ 2.406µs (SLO: <10.000µs 📉 -75.9%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ title_noaspect

Time: ✅ 0.500µs (SLO: <10.000µs 📉 -95.0%)

Memory: ✅ 36.589MB (SLO: <39.000MB -6.2%)


✅ translate_aspect

Time: ✅ 3.416µs (SLO: <10.000µs 📉 -65.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ translate_noaspect

Time: ✅ 1.040µs (SLO: <10.000µs 📉 -89.6%)

Memory: ✅ 36.530MB (SLO: <39.000MB -6.3%)


✅ upper_aspect

Time: ✅ 2.325µs (SLO: <10.000µs 📉 -76.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ upper_noaspect

Time: ✅ 0.368µs (SLO: <10.000µs 📉 -96.3%)

Memory: ✅ 36.530MB (SLO: <39.000MB -6.3%)


🔵 iastaspectsospath - 24/24

🔵 No baseline data available for this suite

✅ ospathbasename_aspect

Time: ✅ 4.125µs (SLO: <10.000µs 📉 -58.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathbasename_noaspect

Time: ✅ 1.083µs (SLO: <10.000µs 📉 -89.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathjoin_aspect

Time: ✅ 6.036µs (SLO: <10.000µs 📉 -39.6%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathjoin_noaspect

Time: ✅ 2.291µs (SLO: <10.000µs 📉 -77.1%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathnormcase_aspect

Time: ✅ 3.824µs (SLO: <10.000µs 📉 -61.8%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathnormcase_noaspect

Time: ✅ 0.570µs (SLO: <10.000µs 📉 -94.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathsplit_aspect

Time: ✅ 4.868µs (SLO: <10.000µs 📉 -51.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathsplit_noaspect

Time: ✅ 1.605µs (SLO: <10.000µs 📉 -84.0%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathsplitdrive_aspect

Time: ✅ 3.670µs (SLO: <10.000µs 📉 -63.3%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ ospathsplitdrive_noaspect

Time: ✅ 0.693µs (SLO: <10.000µs 📉 -93.1%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ ospathsplitext_aspect

Time: ✅ 4.556µs (SLO: <10.000µs 📉 -54.4%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ ospathsplitext_noaspect

Time: ✅ 1.380µs (SLO: <10.000µs 📉 -86.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


🔵 iastaspectssplit - 12/12

🔵 No baseline data available for this suite

✅ rsplit_aspect

Time: ✅ 1.491µs (SLO: <10.000µs 📉 -85.1%)

Memory: ✅ 36.549MB (SLO: <39.000MB -6.3%)


✅ rsplit_noaspect

Time: ✅ 0.576µs (SLO: <10.000µs 📉 -94.2%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ split_aspect

Time: ✅ 1.455µs (SLO: <10.000µs 📉 -85.5%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ split_noaspect

Time: ✅ 0.568µs (SLO: <10.000µs 📉 -94.3%)

Memory: ✅ 36.510MB (SLO: <39.000MB -6.4%)


✅ splitlines_aspect

Time: ✅ 1.440µs (SLO: <10.000µs 📉 -85.6%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


✅ splitlines_noaspect

Time: ✅ 0.587µs (SLO: <10.000µs 📉 -94.1%)

Memory: ✅ 36.569MB (SLO: <39.000MB -6.2%)


🔵 iastpropagation - 8/8

🔵 No baseline data available for this suite

✅ no-propagation

Time: ✅ 48.618µs (SLO: <60.000µs 📉 -19.0%)

Memory: ✅ 36.156MB (SLO: <39.000MB -7.3%)


✅ propagation_enabled

Time: ✅ 146.010µs (SLO: <160.000µs -8.7%)

Memory: ✅ 36.196MB (SLO: <39.000MB -7.2%)


✅ propagation_enabled_100

Time: ✅ 1.583ms (SLO: <1.800ms 📉 -12.1%)

Memory: ✅ 36.215MB (SLO: <39.000MB -7.1%)


✅ propagation_enabled_1000

Time: ✅ 28.897ms (SLO: <30.550ms -5.4%)

Memory: ✅ 36.333MB (SLO: <39.000MB -6.8%)


🔵 otelsdkspan - 24/24

🔵 No baseline data available for this suite

✅ add-event

Time: ✅ 40.432ms (SLO: <42.000ms -3.7%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ add-link

Time: ✅ 36.476ms (SLO: <38.550ms -5.4%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ add-metrics

Time: ✅ 221.299ms (SLO: <232.000ms -4.6%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ add-tags

Time: ✅ 211.366ms (SLO: <221.600ms -4.6%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ get-context

Time: ✅ 28.989ms (SLO: <31.300ms -7.4%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ is-recording

Time: ✅ 29.100ms (SLO: <31.000ms -6.1%)

Memory: ✅ 33.404MB (SLO: <39.000MB 📉 -14.3%)


✅ record-exception

Time: ✅ 62.827ms (SLO: <65.850ms -4.6%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ set-status

Time: ✅ 32.063ms (SLO: <34.150ms -6.1%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ start

Time: ✅ 28.825ms (SLO: <30.150ms -4.4%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ start-finish

Time: ✅ 33.873ms (SLO: <35.350ms -4.2%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ start-finish-telemetry

Time: ✅ 33.951ms (SLO: <35.450ms -4.2%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


✅ update-name

Time: ✅ 30.997ms (SLO: <33.400ms -7.2%)

Memory: ✅ 33.423MB (SLO: <39.000MB 📉 -14.3%)


🔵 otelspan - 22/22

🔵 No baseline data available for this suite

✅ add-event

Time: ✅ 45.011ms (SLO: <47.150ms -4.5%)

Memory: ✅ 43.902MB (SLO: <46.500MB -5.6%)


✅ add-metrics

Time: ✅ 319.299ms (SLO: <344.800ms -7.4%)

Memory: ✅ 560.746MB (SLO: <562.000MB 🟡 -0.2%)


✅ add-tags

Time: ✅ 288.554ms (SLO: <314.000ms -8.1%)

Memory: ✅ 561.750MB (SLO: <563.500MB 🟡 -0.3%)


✅ get-context

Time: ✅ 87.105ms (SLO: <92.350ms -5.7%)

Memory: ✅ 39.063MB (SLO: <46.500MB 📉 -16.0%)


✅ is-recording

Time: ✅ 42.993ms (SLO: <44.500ms -3.4%)

Memory: ✅ 43.366MB (SLO: <46.500MB -6.7%)


✅ record-exception

Time: ✅ 61.485ms (SLO: <67.650ms -9.1%)

Memory: ✅ 39.336MB (SLO: <46.500MB 📉 -15.4%)


✅ set-status

Time: ✅ 48.996ms (SLO: <50.400ms -2.8%)

Memory: ✅ 43.355MB (SLO: <46.500MB -6.8%)


✅ start

Time: ✅ 42.000ms (SLO: <43.450ms -3.3%)

Memory: ✅ 43.324MB (SLO: <46.500MB -6.8%)


✅ start-finish

Time: ✅ 84.576ms (SLO: <88.000ms -3.9%)

Memory: ✅ 33.109MB (SLO: <46.500MB 📉 -28.8%)


✅ start-finish-telemetry

Time: ✅ 86.175ms (SLO: <89.000ms -3.2%)

Memory: ✅ 33.109MB (SLO: <46.500MB 📉 -28.8%)


✅ update-name

Time: ✅ 43.879ms (SLO: <45.150ms -2.8%)

Memory: ✅ 43.644MB (SLO: <46.500MB -6.1%)


🔵 packagespackageforrootmodulemapping - 4/4

🔵 No baseline data available for this suite

✅ cache_off

Time: ✅ 345.335ms (SLO: <354.300ms -2.5%)

Memory: ✅ 37.776MB (SLO: <38.000MB 🟡 -0.6%)


✅ cache_on

Time: ✅ 0.386µs (SLO: <10.000µs 📉 -96.1%)

Memory: ✅ 36.433MB (SLO: <38.000MB -4.1%)


🔵 packagesupdateimporteddependencies - 24/24

🔵 No baseline data available for this suite

✅ import_many

Time: ✅ 155.463µs (SLO: <170.000µs -8.6%)

Memory: ✅ 35.857MB (SLO: <38.500MB -6.9%)


✅ import_many_cached

Time: ✅ 121.508µs (SLO: <130.000µs -6.5%)

Memory: ✅ 35.958MB (SLO: <38.500MB -6.6%)


✅ import_many_stdlib

Time: ✅ 1.613ms (SLO: <1.750ms -7.8%)

Memory: ✅ 36.120MB (SLO: <38.500MB -6.2%)


✅ import_many_stdlib_cached

Time: ✅ 0.968ms (SLO: <1.100ms 📉 -12.0%)

Memory: ✅ 36.298MB (SLO: <38.500MB -5.7%)


✅ import_many_unknown

Time: ✅ 829.633µs (SLO: <890.000µs -6.8%)

Memory: ✅ 36.138MB (SLO: <38.500MB -6.1%)


✅ import_many_unknown_cached

Time: ✅ 797.748µs (SLO: <870.000µs -8.3%)

Memory: ✅ 36.120MB (SLO: <38.500MB -6.2%)


✅ import_one

Time: ✅ 19.797µs (SLO: <30.000µs 📉 -34.0%)

Memory: ✅ 36.147MB (SLO: <38.500MB -6.1%)


✅ import_one_cache

Time: ✅ 6.261µs (SLO: <10.000µs 📉 -37.4%)

Memory: ✅ 35.762MB (SLO: <38.500MB -7.1%)


✅ import_one_stdlib

Time: ✅ 18.607µs (SLO: <20.000µs -7.0%)

Memory: ✅ 35.774MB (SLO: <38.500MB -7.1%)


✅ import_one_stdlib_cache

Time: ✅ 6.245µs (SLO: <10.000µs 📉 -37.6%)

Memory: ✅ 35.845MB (SLO: <38.500MB -6.9%)


✅ import_one_unknown

Time: ✅ 45.417µs (SLO: <50.000µs -9.2%)

Memory: ✅ 35.847MB (SLO: <38.500MB -6.9%)


✅ import_one_unknown_cache

Time: ✅ 6.285µs (SLO: <10.000µs 📉 -37.1%)

Memory: ✅ 35.797MB (SLO: <38.500MB -7.0%)


🔵 ratelimiter - 12/12

🔵 No baseline data available for this suite

✅ defaults

Time: ✅ 2.369µs (SLO: <10.000µs 📉 -76.3%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ high_rate_limit

Time: ✅ 2.425µs (SLO: <10.000µs 📉 -75.7%)

Memory: ✅ 30.632MB (SLO: <34.000MB -9.9%)


✅ long_window

Time: ✅ 2.380µs (SLO: <10.000µs 📉 -76.2%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ low_rate_limit

Time: ✅ 2.385µs (SLO: <10.000µs 📉 -76.1%)

Memory: ✅ 30.612MB (SLO: <34.000MB -10.0%)


✅ no_rate_limit

Time: ✅ 0.839µs (SLO: <10.000µs 📉 -91.6%)

Memory: ✅ 30.632MB (SLO: <34.000MB -9.9%)


✅ short_window

Time: ✅ 2.504µs (SLO: <10.000µs 📉 -75.0%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


🔵 recursivecomputation - 8/8

🔵 No baseline data available for this suite

✅ deep

Time: ✅ 308.947ms (SLO: <320.950ms -3.7%)

Memory: ✅ 31.792MB (SLO: <34.000MB -6.5%)


✅ deep-profiled

Time: ✅ 327.440ms (SLO: <359.150ms -8.8%)

Memory: ✅ 34.406MB (SLO: <39.000MB 📉 -11.8%)


✅ medium

Time: ✅ 7.065ms (SLO: <7.400ms -4.5%)

Memory: ✅ 30.632MB (SLO: <34.000MB -9.9%)


✅ shallow

Time: ✅ 0.954ms (SLO: <1.050ms -9.1%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


🔵 samplingrules - 8/8

🔵 No baseline data available for this suite

✅ average_match

Time: ✅ 274.279µs (SLO: <350.000µs 📉 -21.6%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ high_match

Time: ✅ 446.219µs (SLO: <550.000µs 📉 -18.9%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ low_match

Time: ✅ 110.494µs (SLO: <190.000µs 📉 -41.8%)

Memory: ✅ 433.304MB (SLO: <450.000MB -3.7%)


✅ very_low_match

Time: ✅ 7.676ms (SLO: <9.150ms 📉 -16.1%)

Memory: ✅ 56.586MB (SLO: <60.000MB -5.7%)


🔵 sethttpmeta - 32/32

🔵 No baseline data available for this suite

✅ all-disabled

Time: ✅ 12.434µs (SLO: <20.000µs 📉 -37.8%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ all-enabled

Time: ✅ 42.713µs (SLO: <50.000µs 📉 -14.6%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ collectipvariant_exists

Time: ✅ 43.738µs (SLO: <50.000µs 📉 -12.5%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ no-collectipvariant

Time: ✅ 42.233µs (SLO: <50.000µs 📉 -15.5%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ no-useragentvariant

Time: ✅ 41.037µs (SLO: <50.000µs 📉 -17.9%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ obfuscation-no-query

Time: ✅ 42.759µs (SLO: <50.000µs 📉 -14.5%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ obfuscation-regular-case-explicit-query

Time: ✅ 79.312µs (SLO: <90.000µs 📉 -11.9%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ obfuscation-regular-case-implicit-query

Time: ✅ 79.579µs (SLO: <90.000µs 📉 -11.6%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ obfuscation-send-querystring-disabled

Time: ✅ 158.446µs (SLO: <170.000µs -6.8%)

Memory: ✅ 31.477MB (SLO: <34.000MB -7.4%)


✅ obfuscation-worst-case-explicit-query

Time: ✅ 152.163µs (SLO: <160.000µs -4.9%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ obfuscation-worst-case-implicit-query

Time: ✅ 158.641µs (SLO: <170.000µs -6.7%)

Memory: ✅ 31.477MB (SLO: <34.000MB -7.4%)


✅ useragentvariant_exists_1

Time: ✅ 41.853µs (SLO: <50.000µs 📉 -16.3%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ useragentvariant_exists_2

Time: ✅ 42.931µs (SLO: <50.000µs 📉 -14.1%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ useragentvariant_exists_3

Time: ✅ 43.028µs (SLO: <50.000µs 📉 -13.9%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


✅ useragentvariant_not_exists_1

Time: ✅ 41.763µs (SLO: <50.000µs 📉 -16.5%)

Memory: ✅ 31.477MB (SLO: <34.000MB -7.4%)


✅ useragentvariant_not_exists_2

Time: ✅ 41.800µs (SLO: <50.000µs 📉 -16.4%)

Memory: ✅ 31.457MB (SLO: <34.000MB -7.5%)


🔵 span - 26/26

🔵 No baseline data available for this suite

✅ add-event

Time: ✅ 24.025ms (SLO: <26.200ms -8.3%)

Memory: ✅ 50.297MB (SLO: <53.000MB -5.1%)


✅ add-metrics

Time: ✅ 92.123ms (SLO: <98.350ms -6.3%)

Memory: ✅ 614.759MB (SLO: <961.000MB 📉 -36.0%)


✅ add-tags

Time: ✅ 149.767ms (SLO: <168.550ms 📉 -11.1%)

Memory: ✅ 616.145MB (SLO: <962.500MB 📉 -36.0%)


✅ get-context

Time: ✅ 22.540ms (SLO: <23.700ms -4.9%)

Memory: ✅ 49.011MB (SLO: <53.000MB -7.5%)


✅ is-recording

Time: ✅ 22.576ms (SLO: <23.900ms -5.5%)

Memory: ✅ 49.000MB (SLO: <53.000MB -7.5%)


✅ record-exception

Time: ✅ 42.989ms (SLO: <44.500ms -3.4%)

Memory: ✅ 42.183MB (SLO: <53.000MB 📉 -20.4%)


✅ set-status

Time: ✅ 24.242ms (SLO: <26.000ms -6.8%)

Memory: ✅ 49.032MB (SLO: <53.000MB -7.5%)


✅ start

Time: ✅ 22.340ms (SLO: <23.500ms -4.9%)

Memory: ✅ 48.972MB (SLO: <53.000MB -7.6%)


✅ start-finish

Time: ✅ 53.552ms (SLO: <55.500ms -3.5%)

Memory: ✅ 30.671MB (SLO: <34.000MB -9.8%)


✅ start-finish-telemetry

Time: ✅ 55.039ms (SLO: <58.300ms -5.6%)

Memory: ✅ 30.985MB (SLO: <34.000MB -8.9%)


✅ start-finish-traceid128

Time: ✅ 57.323ms (SLO: <58.050ms 🟡 -1.3%)

Memory: ✅ 30.691MB (SLO: <34.000MB -9.7%)


✅ start-traceid128

Time: ✅ 22.544ms (SLO: <24.600ms -8.4%)

Memory: ✅ 49.025MB (SLO: <53.000MB -7.5%)


✅ update-name

Time: ✅ 23.228ms (SLO: <24.100ms -3.6%)

Memory: ✅ 49.650MB (SLO: <53.000MB -6.3%)


🔵 telemetryaddmetric - 30/30

🔵 No baseline data available for this suite

✅ 1-count-metric-1-times

Time: ✅ 3.282µs (SLO: <10.000µs 📉 -67.2%)

Memory: ✅ 30.632MB (SLO: <34.000MB -9.9%)


✅ 1-count-metrics-100-times

Time: ✅ 213.476µs (SLO: <240.000µs 📉 -11.1%)

Memory: ✅ 30.612MB (SLO: <34.000MB -10.0%)


✅ 1-distribution-metric-1-times

Time: ✅ 2.896µs (SLO: <10.000µs 📉 -71.0%)

Memory: ✅ 30.671MB (SLO: <34.000MB -9.8%)


✅ 1-distribution-metrics-100-times

Time: ✅ 195.082µs (SLO: <210.000µs -7.1%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ 1-gauge-metric-1-times

Time: ✅ 2.100µs (SLO: <10.000µs 📉 -79.0%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ 1-gauge-metrics-100-times

Time: ✅ 123.209µs (SLO: <140.000µs 📉 -12.0%)

Memory: ✅ 30.671MB (SLO: <34.000MB -9.8%)


✅ 1-rate-metric-1-times

Time: ✅ 3.282µs (SLO: <10.000µs 📉 -67.2%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ 1-rate-metrics-100-times

Time: ✅ 215.427µs (SLO: <230.000µs -6.3%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ 100-count-metrics-100-times

Time: ✅ 21.219ms (SLO: <22.500ms -5.7%)

Memory: ✅ 30.671MB (SLO: <34.000MB -9.8%)


✅ 100-distribution-metrics-100-times

Time: ✅ 2.022ms (SLO: <2.100ms -3.7%)

Memory: ✅ 31.064MB (SLO: <34.000MB -8.6%)


✅ 100-gauge-metrics-100-times

Time: ✅ 1.267ms (SLO: <1.400ms -9.5%)

Memory: ✅ 30.612MB (SLO: <34.000MB -10.0%)


✅ 100-rate-metrics-100-times

Time: ✅ 2.179ms (SLO: <2.400ms -9.2%)

Memory: ✅ 30.632MB (SLO: <34.000MB -9.9%)


✅ flush-1-metric

Time: ✅ 4.323µs (SLO: <10.000µs 📉 -56.8%)

Memory: ✅ 30.985MB (SLO: <34.000MB -8.9%)


✅ flush-100-metrics

Time: ✅ 181.865µs (SLO: <200.000µs -9.1%)

Memory: ✅ 31.025MB (SLO: <34.000MB -8.8%)


✅ flush-1000-metrics

Time: ✅ 2.193ms (SLO: <2.350ms -6.7%)

Memory: ✅ 31.850MB (SLO: <34.000MB -6.3%)


🔵 tracer - 6/6

🔵 No baseline data available for this suite

✅ large

Time: ✅ 29.756ms (SLO: <32.950ms -9.7%)

Memory: ✅ 32.244MB (SLO: <34.000MB -5.2%)


✅ medium

Time: ✅ 2.953ms (SLO: <3.200ms -7.7%)

Memory: ✅ 30.651MB (SLO: <34.000MB -9.8%)


✅ small

Time: ✅ 335.137µs (SLO: <370.000µs -9.4%)

Memory: ✅ 30.612MB (SLO: <34.000MB -10.0%)

@chojomok chojomok changed the title remove logic that uses import importlib_metadata chore: remove logic that uses import importlib_metadata Jul 22, 2025
@chojomok chojomok added the changelog/no-changelog A changelog entry is not required for this PR. label Jul 22, 2025
Copy link
Copy Markdown
Contributor

@mabdinur mabdinur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove "importlib_metadata<=6.5.0; python_version<'3.8'", from pyproject.toml. This will remove this dependnacy from the ddtrace package. We should also add a release note.

@chojomok chojomok marked this pull request as ready for review July 29, 2025 19:26
@chojomok chojomok requested a review from a team as a code owner July 29, 2025 19:26
Comment thread releasenotes/notes/remove-importlib_metadata-dependency-a0f8138ae307acfe.yaml Outdated
Copy link
Copy Markdown
Contributor

@mabdinur mabdinur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some nits. Overall LGTM!

Comment thread ddtrace/internal/products.py Outdated
Comment thread ddtrace/internal/products.py Outdated
Copy link
Copy Markdown
Member

@brettlangdon brettlangdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we get a PR description?

Comment thread releasenotes/notes/remove-importlib_metadata-dependency-a0f8138ae307acfe.yaml Outdated
Copy link
Copy Markdown
Collaborator

@emmettbutler emmettbutler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seconded @brettlangdon's comments

@chojomok
Copy link
Copy Markdown
Collaborator Author

@brettlangdon + @emmettbutler - I removed the release note and added it as PR description instead. Let me know if this isn't sufficient.

@emmettbutler emmettbutler self-requested a review July 30, 2025 19:17
@brettlangdon brettlangdon enabled auto-merge (squash) August 6, 2025 16:41
@brettlangdon brettlangdon merged commit 8fbd304 into main Aug 11, 2025
892 of 893 checks passed
@brettlangdon brettlangdon deleted the mohammad/update_importlib_metadata branch August 11, 2025 08:33
brettlangdon pushed a commit that referenced this pull request Aug 11, 2025
Remove importlib_metadata dependency since it is no longer needed.
Support for Python 3.7 has been dropped, and dd-trace-py now requires
Python 3.8 or later, which includes importlib.metadata in the standard
library.


## Checklist
- [x] 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](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
- The change includes or references documentation updates if necessary
- Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))

## Reviewer Checklist
- [x] 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](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
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](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)

---------

Co-authored-by: Munir Abdinur <munir_abdinur@hotmail.com>
Co-authored-by: Munir Abdinur <munir.abdinur@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apm-tee-mochi changelog/no-changelog A changelog entry is not required for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants