-
Notifications
You must be signed in to change notification settings - Fork 278
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
Create commmon backend-mock module to use in smoke tests #7080
Merged
nikita-tkachenko-datadog
merged 1 commit into
master
from
nikita-tkachenko/mock-backend
May 29, 2024
Merged
Create commmon backend-mock module to use in smoke tests #7080
nikita-tkachenko-datadog
merged 1 commit into
master
from
nikita-tkachenko/mock-backend
May 29, 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
nikita-tkachenko-datadog
added
comp: testing
Testing
tag: no release notes
Changes to exclude from release notes
labels
May 28, 2024
nikita-tkachenko-datadog
force-pushed
the
nikita-tkachenko/mock-backend
branch
from
May 28, 2024 11:59
616ecc6
to
ac3ca09
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 48 metrics, 15 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.059 s) : 0, 1058656
Total [baseline] (10.395 s) : 0, 10394609
Agent [candidate] (1.058 s) : 0, 1058119
Total [candidate] (10.32 s) : 0, 10320347
section appsec
Agent [baseline] (1.179 s) : 0, 1178753
Total [baseline] (10.546 s) : 0, 10545902
Agent [candidate] (1.175 s) : 0, 1174854
Total [candidate] (10.504 s) : 0, 10504339
section iast
Agent [baseline] (1.183 s) : 0, 1183485
Total [baseline] (10.792 s) : 0, 10791608
Agent [candidate] (1.184 s) : 0, 1184094
Total [candidate] (10.77 s) : 0, 10769848
section profiling
Agent [baseline] (1.261 s) : 0, 1260675
Total [baseline] (10.575 s) : 0, 10574632
Agent [candidate] (1.266 s) : 0, 1266397
Total [candidate] (10.692 s) : 0, 10691789
gantt
title petclinic - break down per module: candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (652.812 ms) : 0, 652812
BytebuddyAgent [candidate] (652.993 ms) : 0, 652993
GlobalTracer [baseline] (313.253 ms) : 0, 313253
GlobalTracer [candidate] (312.723 ms) : 0, 312723
AppSec [baseline] (49.796 ms) : 0, 49796
AppSec [candidate] (49.816 ms) : 0, 49816
Remote Config [baseline] (667.376 µs) : 0, 667
Remote Config [candidate] (664.627 µs) : 0, 665
Telemetry [baseline] (7.679 ms) : 0, 7679
Telemetry [candidate] (7.542 ms) : 0, 7542
section appsec
BytebuddyAgent [baseline] (676.689 ms) : 0, 676689
BytebuddyAgent [candidate] (674.883 ms) : 0, 674883
GlobalTracer [baseline] (296.39 ms) : 0, 296390
GlobalTracer [candidate] (295.664 ms) : 0, 295664
AppSec [baseline] (152.834 ms) : 0, 152834
AppSec [candidate] (152.753 ms) : 0, 152753
Remote Config [baseline] (630.943 µs) : 0, 631
Remote Config [candidate] (633.412 µs) : 0, 633
Telemetry [baseline] (8.378 ms) : 0, 8378
Telemetry [candidate] (7.194 ms) : 0, 7194
IAST [baseline] (18.738 ms) : 0, 18738
IAST [candidate] (18.751 ms) : 0, 18751
section iast
BytebuddyAgent [baseline] (776.58 ms) : 0, 776580
BytebuddyAgent [candidate] (776.871 ms) : 0, 776871
GlobalTracer [baseline] (292.148 ms) : 0, 292148
GlobalTracer [candidate] (292.138 ms) : 0, 292138
AppSec [baseline] (49.581 ms) : 0, 49581
AppSec [candidate] (49.719 ms) : 0, 49719
Remote Config [baseline] (618.48 µs) : 0, 618
Remote Config [candidate] (595.112 µs) : 0, 595
Telemetry [baseline] (6.692 ms) : 0, 6692
Telemetry [candidate] (6.582 ms) : 0, 6582
IAST [baseline] (23.579 ms) : 0, 23579
IAST [candidate] (23.787 ms) : 0, 23787
section profiling
BytebuddyAgent [baseline] (661.066 ms) : 0, 661066
BytebuddyAgent [candidate] (666.385 ms) : 0, 666385
GlobalTracer [baseline] (387.418 ms) : 0, 387418
GlobalTracer [candidate] (387.116 ms) : 0, 387116
AppSec [baseline] (50.914 ms) : 0, 50914
AppSec [candidate] (50.935 ms) : 0, 50935
Remote Config [baseline] (902.682 µs) : 0, 903
Remote Config [candidate] (778.044 µs) : 0, 778
Telemetry [baseline] (7.564 ms) : 0, 7564
Telemetry [candidate] (7.532 ms) : 0, 7532
ProfilingAgent [baseline] (96.385 ms) : 0, 96385
ProfilingAgent [candidate] (96.885 ms) : 0, 96885
Profiling [baseline] (96.409 ms) : 0, 96409
Profiling [candidate] (96.91 ms) : 0, 96910
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.053 s) : 0, 1053107
Total [baseline] (8.533 s) : 0, 8533348
Agent [candidate] (1.056 s) : 0, 1055874
Total [candidate] (8.557 s) : 0, 8557429
section iast
Agent [baseline] (1.188 s) : 0, 1188058
Total [baseline] (9.033 s) : 0, 9033184
Agent [candidate] (1.187 s) : 0, 1186725
Total [candidate] (9.011 s) : 0, 9010557
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.183 s) : 0, 1183254
Total [baseline] (9.01 s) : 0, 9010061
Agent [candidate] (1.184 s) : 0, 1184495
Total [candidate] (8.974 s) : 0, 8973836
section iast_TELEMETRY_OFF
Agent [baseline] (1.182 s) : 0, 1182037
Total [baseline] (9.006 s) : 0, 9005601
Agent [candidate] (1.19 s) : 0, 1190475
Total [candidate] (9.024 s) : 0, 9024231
gantt
title insecure-bank - break down per module: candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (649.575 ms) : 0, 649575
BytebuddyAgent [candidate] (651.624 ms) : 0, 651624
GlobalTracer [baseline] (311.882 ms) : 0, 311882
GlobalTracer [candidate] (311.95 ms) : 0, 311950
AppSec [baseline] (49.369 ms) : 0, 49369
AppSec [candidate] (49.763 ms) : 0, 49763
Remote Config [baseline] (660.196 µs) : 0, 660
Remote Config [candidate] (660.719 µs) : 0, 661
Telemetry [baseline] (7.513 ms) : 0, 7513
Telemetry [candidate] (7.588 ms) : 0, 7588
section iast
BytebuddyAgent [baseline] (777.788 ms) : 0, 777788
BytebuddyAgent [candidate] (778.279 ms) : 0, 778279
GlobalTracer [baseline] (292.836 ms) : 0, 292836
GlobalTracer [candidate] (292.856 ms) : 0, 292856
AppSec [baseline] (47.753 ms) : 0, 47753
AppSec [candidate] (48.549 ms) : 0, 48549
Remote Config [baseline] (606.611 µs) : 0, 607
Remote Config [candidate] (598.846 µs) : 0, 599
Telemetry [baseline] (8.146 ms) : 0, 8146
Telemetry [candidate] (8.093 ms) : 0, 8093
IAST [baseline] (26.525 ms) : 0, 26525
IAST [candidate] (23.835 ms) : 0, 23835
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (774.957 ms) : 0, 774957
BytebuddyAgent [candidate] (775.684 ms) : 0, 775684
GlobalTracer [baseline] (291.904 ms) : 0, 291904
GlobalTracer [candidate] (292.323 ms) : 0, 292323
AppSec [baseline] (50.403 ms) : 0, 50403
AppSec [candidate] (47.706 ms) : 0, 47706
Remote Config [baseline] (598.62 µs) : 0, 599
Remote Config [candidate] (585.961 µs) : 0, 586
Telemetry [baseline] (8.082 ms) : 0, 8082
Telemetry [candidate] (8.697 ms) : 0, 8697
IAST [baseline] (22.996 ms) : 0, 22996
IAST [candidate] (25.248 ms) : 0, 25248
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (774.063 ms) : 0, 774063
BytebuddyAgent [candidate] (779.929 ms) : 0, 779929
GlobalTracer [baseline] (292.103 ms) : 0, 292103
GlobalTracer [candidate] (294.64 ms) : 0, 294640
AppSec [baseline] (52.67 ms) : 0, 52670
AppSec [candidate] (48.891 ms) : 0, 48891
Remote Config [baseline] (616.186 µs) : 0, 616
Remote Config [candidate] (643.843 µs) : 0, 644
Telemetry [baseline] (6.434 ms) : 0, 6434
Telemetry [candidate] (8.002 ms) : 0, 8002
IAST [baseline] (21.739 ms) : 0, 21739
IAST [candidate] (23.692 ms) : 0, 23692
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 18 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section baseline
no_agent (1.346 ms) : 1326, 1365
. : milestone, 1346,
appsec (1.696 ms) : 1672, 1721
. : milestone, 1696,
appsec_no_iast (1.726 ms) : 1701, 1751
. : milestone, 1726,
iast (1.475 ms) : 1452, 1497
. : milestone, 1475,
profiling (1.504 ms) : 1478, 1529
. : milestone, 1504,
tracing (1.475 ms) : 1451, 1499
. : milestone, 1475,
section candidate
no_agent (1.332 ms) : 1312, 1352
. : milestone, 1332,
appsec (1.722 ms) : 1698, 1746
. : milestone, 1722,
appsec_no_iast (1.719 ms) : 1695, 1743
. : milestone, 1719,
iast (1.483 ms) : 1460, 1506
. : milestone, 1483,
profiling (1.527 ms) : 1501, 1552
. : milestone, 1527,
tracing (1.449 ms) : 1426, 1472
. : milestone, 1449,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section baseline
no_agent (366.946 µs) : 347, 387
. : milestone, 367,
iast (472.574 µs) : 451, 494
. : milestone, 473,
iast_FULL (548.896 µs) : 528, 570
. : milestone, 549,
iast_GLOBAL (504.908 µs) : 483, 527
. : milestone, 505,
iast_HARDCODED_SECRET_DISABLED (477.374 µs) : 456, 498
. : milestone, 477,
iast_INACTIVE (454.139 µs) : 433, 476
. : milestone, 454,
iast_TELEMETRY_OFF (469.5 µs) : 447, 492
. : milestone, 470,
tracing (442.567 µs) : 422, 464
. : milestone, 443,
section candidate
no_agent (364.249 µs) : 345, 384
. : milestone, 364,
iast (478.366 µs) : 457, 499
. : milestone, 478,
iast_FULL (543.866 µs) : 523, 565
. : milestone, 544,
iast_GLOBAL (500.114 µs) : 478, 522
. : milestone, 500,
iast_HARDCODED_SECRET_DISABLED (475.466 µs) : 455, 496
. : milestone, 475,
iast_INACTIVE (459.773 µs) : 437, 482
. : milestone, 460,
iast_TELEMETRY_OFF (468.61 µs) : 446, 491
. : milestone, 469,
tracing (435.399 µs) : 415, 456
. : milestone, 435,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section baseline
no_agent (15.022 s) : 15022000, 15022000
. : milestone, 15022000,
appsec (15.164 s) : 15164000, 15164000
. : milestone, 15164000,
iast (18.71 s) : 18710000, 18710000
. : milestone, 18710000,
iast_GLOBAL (17.698 s) : 17698000, 17698000
. : milestone, 17698000,
profiling (15.503 s) : 15503000, 15503000
. : milestone, 15503000,
tracing (15.216 s) : 15216000, 15216000
. : milestone, 15216000,
section candidate
no_agent (15.329 s) : 15329000, 15329000
. : milestone, 15329000,
appsec (14.919 s) : 14919000, 14919000
. : milestone, 14919000,
iast (18.884 s) : 18884000, 18884000
. : milestone, 18884000,
iast_GLOBAL (17.978 s) : 17978000, 17978000
. : milestone, 17978000,
profiling (14.683 s) : 14683000, 14683000
. : milestone, 14683000,
tracing (15.149 s) : 15149000, 15149000
. : milestone, 15149000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.35.0-SNAPSHOT~ac3ca0988f, baseline=1.35.0-SNAPSHOT~ac3ca0988f
dateFormat X
axisFormat %s
section baseline
no_agent (1.466 ms) : 1454, 1477
. : milestone, 1466,
appsec (2.197 ms) : 2164, 2231
. : milestone, 2197,
iast (1.954 ms) : 1913, 1994
. : milestone, 1954,
iast_GLOBAL (1.993 ms) : 1952, 2033
. : milestone, 1993,
profiling (1.851 ms) : 1818, 1884
. : milestone, 1851,
tracing (1.834 ms) : 1802, 1867
. : milestone, 1834,
section candidate
no_agent (1.465 ms) : 1453, 1476
. : milestone, 1465,
appsec (2.201 ms) : 2167, 2234
. : milestone, 2201,
iast (1.97 ms) : 1929, 2011
. : milestone, 1970,
iast_GLOBAL (1.987 ms) : 1946, 2028
. : milestone, 1987,
profiling (1.833 ms) : 1800, 1867
. : milestone, 1833,
tracing (1.832 ms) : 1800, 1864
. : milestone, 1832,
|
anmarchenko
approved these changes
May 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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
Moves test fixtures that mock Datadog backend to a separate module.
Motivation
With the implementation of agentless log submission, there will be more smoke test modules that will benefit from using the mock backend.
Additional Notes
The CI Visibility subprojects contains some text fixtures that are used by Maven and Gradle instrumentations smoke tests.
These test fixtures contain logic that allows to start a mock Datadog backend.
Jira ticket: CIVIS-10104