Closed nikita-tkachenko-datadog closed 1 month ago
Baseline | Candidate | |
---|---|---|
baseline_or_candidate | baseline | candidate |
git_branch | master | nikita-tkachenko/backport-pr-7779 |
git_commit_date | 1729257196 | 1729254284 |
git_commit_sha | 00856e02d3 | 19f44666b2 |
release_version | 1.42.0-SNAPSHOT~00856e02d3 | 1.42.0-SNAPSHOT~19f44666b2 |
Found 0 performance improvements and 2 performance regressions! Performance is the same for 49 metrics, 12 unstable metrics.
scenario | Δ mean execution_time | candidate mean execution_time | baseline mean execution_time |
---|---|---|---|
scenario:startup:petclinic:profiling:ProfilingAgent | worse [+2.910ms; +8.362ms] or [+3.177%; +9.130%] |
97.221ms | 91.585ms |
scenario:startup:petclinic:profiling:Profiling | worse [+2.910ms; +8.362ms] or [+3.177%; +9.128%] |
97.244ms | 91.609ms |
Baseline | Candidate | |
---|---|---|
baseline_or_candidate | baseline | candidate |
end_time | 2024-10-18T13:27:12 | 2024-10-18T13:34:04 |
git_branch | master | nikita-tkachenko/backport-pr-7779 |
git_commit_date | 1729257196 | 1729254284 |
git_commit_sha | 00856e02d3 | 19f44666b2 |
release_version | 1.42.0-SNAPSHOT~00856e02d3 | 1.42.0-SNAPSHOT~19f44666b2 |
start_time | 2024-10-18T13:26:58 | 2024-10-18T13:33:51 |
Found 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 17 unstable metrics.
Baseline | Candidate | |
---|---|---|
baseline_or_candidate | baseline | candidate |
git_branch | master | nikita-tkachenko/backport-pr-7779 |
git_commit_date | 1729257196 | 1729254284 |
git_commit_sha | 00856e02d3 | 19f44666b2 |
release_version | 1.42.0-SNAPSHOT~00856e02d3 | 1.42.0-SNAPSHOT~19f44666b2 |
Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics.
Cherry pick #7779
What Does This Do
Fixes module name detection for headless test sessions (i.e. sessions for JVMs that are not part of an instrumented Maven/Gradle build).
When a JVM is a part of an instrumented Maven/Gradle build, the parent process provides module names to the children processes via system properties. For headless sessions the module name is not provided, so there is a fallback that tries to derive module name from current path and repository root (e.g. if repo root is
/my/repo/root
and current path is/my/repo/root/submodule
, then the module name is set tosubmodule
). This fallback logic works incorrectly when repo root is/my/repo/root
and the current path is/my/repo/root/
: in this case module name is empty, which is not allowed.The fix detects these cases, and uses service name as the last fallback if module name cannot be derived from current path.
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: SDTEST-1110