-
Notifications
You must be signed in to change notification settings - Fork 291
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 tracing for tests executed with JUnit Platform Runner #6818
Merged
nikita-tkachenko-datadog
merged 2 commits into
master
from
nikita-tkachenko/junit-platform-runner-fix
Mar 18, 2024
Merged
Fix tracing for tests executed with JUnit Platform Runner #6818
nikita-tkachenko-datadog
merged 2 commits into
master
from
nikita-tkachenko/junit-platform-runner-fix
Mar 18, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 53 metrics, 10 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.32.0-SNAPSHOT~4c2020bb55, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.09 s) : 0, 1090181
Total [baseline] (8.586 s) : 0, 8586422
Agent [candidate] (1.091 s) : 0, 1090832
Total [candidate] (8.597 s) : 0, 8597202
section iast
Agent [baseline] (1.201 s) : 0, 1200935
Total [baseline] (9.023 s) : 0, 9023139
Agent [candidate] (1.205 s) : 0, 1205342
Total [candidate] (9.043 s) : 0, 9042731
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.212 s) : 0, 1211526
Total [baseline] (9.029 s) : 0, 9029151
Agent [candidate] (1.205 s) : 0, 1204933
Total [candidate] (9.023 s) : 0, 9022968
section iast_TELEMETRY_OFF
Agent [baseline] (1.206 s) : 0, 1205728
Total [baseline] (9.051 s) : 0, 9050604
Agent [candidate] (1.198 s) : 0, 1197561
Total [candidate] (9.019 s) : 0, 9018955
gantt
title insecure-bank - break down per module: candidate=1.32.0-SNAPSHOT~4c2020bb55, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (703.81 ms) : 0, 703810
BytebuddyAgent [candidate] (704.582 ms) : 0, 704582
GlobalTracer [baseline] (294.076 ms) : 0, 294076
GlobalTracer [candidate] (293.842 ms) : 0, 293842
AppSec [baseline] (49.056 ms) : 0, 49056
AppSec [candidate] (49.072 ms) : 0, 49072
Remote Config [baseline] (735.526 µs) : 0, 736
Remote Config [candidate] (735.946 µs) : 0, 736
Telemetry [baseline] (7.803 ms) : 0, 7803
Telemetry [candidate] (7.816 ms) : 0, 7816
section iast
BytebuddyAgent [baseline] (797.981 ms) : 0, 797981
BytebuddyAgent [candidate] (800.996 ms) : 0, 800996
GlobalTracer [baseline] (287.467 ms) : 0, 287467
GlobalTracer [candidate] (289.187 ms) : 0, 289187
AppSec [baseline] (48.678 ms) : 0, 48678
AppSec [candidate] (51.507 ms) : 0, 51507
Remote Config [baseline] (592.802 µs) : 0, 593
Remote Config [candidate] (611.293 µs) : 0, 611
Telemetry [baseline] (6.551 ms) : 0, 6551
Telemetry [candidate] (7.319 ms) : 0, 7319
IAST [baseline] (25.353 ms) : 0, 25353
IAST [candidate] (21.333 ms) : 0, 21333
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (804.602 ms) : 0, 804602
BytebuddyAgent [candidate] (800.286 ms) : 0, 800286
GlobalTracer [baseline] (290.526 ms) : 0, 290526
GlobalTracer [candidate] (289.292 ms) : 0, 289292
AppSec [baseline] (49.642 ms) : 0, 49642
AppSec [candidate] (50.897 ms) : 0, 50897
Remote Config [baseline] (621.489 µs) : 0, 621
Remote Config [candidate] (592.997 µs) : 0, 593
Telemetry [baseline] (6.663 ms) : 0, 6663
Telemetry [candidate] (6.575 ms) : 0, 6575
IAST [baseline] (24.867 ms) : 0, 24867
IAST [candidate] (22.867 ms) : 0, 22867
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (799.223 ms) : 0, 799223
BytebuddyAgent [candidate] (792.256 ms) : 0, 792256
GlobalTracer [baseline] (290.626 ms) : 0, 290626
GlobalTracer [candidate] (289.861 ms) : 0, 289861
AppSec [baseline] (49.517 ms) : 0, 49517
AppSec [candidate] (48.585 ms) : 0, 48585
Remote Config [baseline] (567.181 µs) : 0, 567
Remote Config [candidate] (570.849 µs) : 0, 571
Telemetry [baseline] (6.475 ms) : 0, 6475
Telemetry [candidate] (6.491 ms) : 0, 6491
IAST [baseline] (24.821 ms) : 0, 24821
IAST [candidate] (25.536 ms) : 0, 25536
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.32.0-SNAPSHOT~4c2020bb55, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.085 s) : 0, 1084640
Total [baseline] (9.139 s) : 0, 9139075
Agent [candidate] (1.083 s) : 0, 1083169
Total [candidate] (9.223 s) : 0, 9222828
section appsec
Agent [baseline] (1.197 s) : 0, 1196848
Total [baseline] (9.294 s) : 0, 9293551
Agent [candidate] (1.202 s) : 0, 1202149
Total [candidate] (9.28 s) : 0, 9280458
section iast
Agent [baseline] (1.21 s) : 0, 1209824
Total [baseline] (9.315 s) : 0, 9315233
Agent [candidate] (1.208 s) : 0, 1208311
Total [candidate] (9.356 s) : 0, 9355548
section profiling
Agent [baseline] (1.268 s) : 0, 1268469
Total [baseline] (9.394 s) : 0, 9394482
Agent [candidate] (1.274 s) : 0, 1273518
Total [candidate] (9.434 s) : 0, 9433894
gantt
title petclinic - break down per module: candidate=1.32.0-SNAPSHOT~4c2020bb55, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (699.859 ms) : 0, 699859
BytebuddyAgent [candidate] (698.437 ms) : 0, 698437
GlobalTracer [baseline] (292.675 ms) : 0, 292675
GlobalTracer [candidate] (292.652 ms) : 0, 292652
AppSec [baseline] (49.034 ms) : 0, 49034
AppSec [candidate] (48.988 ms) : 0, 48988
Remote Config [baseline] (737.09 µs) : 0, 737
Remote Config [candidate] (738.766 µs) : 0, 739
Telemetry [baseline] (7.853 ms) : 0, 7853
Telemetry [candidate] (7.762 ms) : 0, 7762
section appsec
BytebuddyAgent [baseline] (694.377 ms) : 0, 694377
BytebuddyAgent [candidate] (696.881 ms) : 0, 696881
GlobalTracer [baseline] (290.385 ms) : 0, 290385
GlobalTracer [candidate] (292.092 ms) : 0, 292092
AppSec [baseline] (152.669 ms) : 0, 152669
AppSec [candidate] (153.506 ms) : 0, 153506
Remote Config [baseline] (605.553 µs) : 0, 606
Remote Config [candidate] (605.5 µs) : 0, 606
Telemetry [baseline] (6.827 ms) : 0, 6827
Telemetry [candidate] (6.866 ms) : 0, 6866
IAST [baseline] (17.792 ms) : 0, 17792
IAST [candidate] (17.935 ms) : 0, 17935
section iast
BytebuddyAgent [baseline] (805.265 ms) : 0, 805265
BytebuddyAgent [candidate] (802.337 ms) : 0, 802337
GlobalTracer [baseline] (288.672 ms) : 0, 288672
GlobalTracer [candidate] (289.741 ms) : 0, 289741
AppSec [baseline] (48.723 ms) : 0, 48723
AppSec [candidate] (48.837 ms) : 0, 48837
Remote Config [baseline] (599.869 µs) : 0, 600
Remote Config [candidate] (607.492 µs) : 0, 607
Telemetry [baseline] (6.536 ms) : 0, 6536
Telemetry [candidate] (6.536 ms) : 0, 6536
IAST [baseline] (25.453 ms) : 0, 25453
IAST [candidate] (25.829 ms) : 0, 25829
section profiling
ProfilingAgent [baseline] (93.863 ms) : 0, 93863
ProfilingAgent [candidate] (94.453 ms) : 0, 94453
BytebuddyAgent [baseline] (686.517 ms) : 0, 686517
BytebuddyAgent [candidate] (688.712 ms) : 0, 688712
GlobalTracer [baseline] (374.547 ms) : 0, 374547
GlobalTracer [candidate] (376.502 ms) : 0, 376502
AppSec [baseline] (49.349 ms) : 0, 49349
AppSec [candidate] (49.606 ms) : 0, 49606
Remote Config [baseline] (802.431 µs) : 0, 802
Remote Config [candidate] (811.974 µs) : 0, 812
Telemetry [baseline] (7.381 ms) : 0, 7381
Telemetry [candidate] (7.386 ms) : 0, 7386
Profiling [baseline] (93.887 ms) : 0, 93887
Profiling [candidate] (94.477 ms) : 0, 94477
LoadRequest duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~4c2020bb55, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section baseline
no_agent (365.678 µs) : 345, 386
. : milestone, 366,
iast (465.11 µs) : 444, 486
. : milestone, 465,
iast_FULL (532.75 µs) : 512, 553
. : milestone, 533,
iast_GLOBAL (487.512 µs) : 467, 508
. : milestone, 488,
iast_HARDCODED_SECRET_DISABLED (473.913 µs) : 453, 495
. : milestone, 474,
iast_INACTIVE (443.412 µs) : 423, 464
. : milestone, 443,
iast_TELEMETRY_OFF (459.65 µs) : 439, 480
. : milestone, 460,
tracing (438.253 µs) : 418, 459
. : milestone, 438,
section candidate
no_agent (358.04 µs) : 339, 377
. : milestone, 358,
iast (470.339 µs) : 450, 491
. : milestone, 470,
iast_FULL (531.901 µs) : 511, 553
. : milestone, 532,
iast_GLOBAL (494.119 µs) : 472, 516
. : milestone, 494,
iast_HARDCODED_SECRET_DISABLED (472.712 µs) : 451, 494
. : milestone, 473,
iast_INACTIVE (441.706 µs) : 421, 463
. : milestone, 442,
iast_TELEMETRY_OFF (474.218 µs) : 453, 496
. : milestone, 474,
tracing (439.672 µs) : 419, 460
. : milestone, 440,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~4c2020bb55, baseline=1.32.0-SNAPSHOT~6d2f2adf41
dateFormat X
axisFormat %s
section baseline
no_agent (1.346 ms) : 1327, 1365
. : milestone, 1346,
appsec (1.768 ms) : 1745, 1792
. : milestone, 1768,
iast (1.519 ms) : 1496, 1543
. : milestone, 1519,
profiling (1.509 ms) : 1485, 1533
. : milestone, 1509,
tracing (1.477 ms) : 1454, 1500
. : milestone, 1477,
section candidate
no_agent (1.347 ms) : 1328, 1366
. : milestone, 1347,
appsec (1.787 ms) : 1763, 1810
. : milestone, 1787,
iast (1.512 ms) : 1488, 1535
. : milestone, 1512,
profiling (1.583 ms) : 1559, 1608
. : milestone, 1583,
tracing (1.485 ms) : 1461, 1508
. : milestone, 1485,
|
romainkomorndatadog
approved these changes
Mar 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
Fixes tracing for tests that are run with JUnit Platform Runner.
Motivation
There are CI Visibility customers who use JUnit Platform Runner.
Additional Notes
JUnit Platform Runner provides a way to run tests that are written for JUnit 5 with a JUnit 4 runner.
The smoke test case that is added in this PR can be checked for an example of the platform runner set up and usage.
Jira ticket: CIVIS-9429