Ignore configuration blocks when comparing skippable test identifiers#6379
Merged
nikita-tkachenko-datadog merged 1 commit intoDec 18, 2023
Merged
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 47 metrics, 7 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.26.0-SNAPSHOT~24198723c4, baseline=1.26.0-SNAPSHOT~61aca5c9d8
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.048 s) : 0, 1047659
Total [baseline] (9.318 s) : 0, 9318442
Agent [candidate] (1.053 s) : 0, 1052967
Total [candidate] (9.381 s) : 0, 9381134
section appsec
Agent [baseline] (1.149 s) : 0, 1149355
Total [baseline] (9.558 s) : 0, 9558354
Agent [candidate] (1.142 s) : 0, 1142064
Total [candidate] (9.459 s) : 0, 9458626
section iast
Agent [baseline] (1.163 s) : 0, 1163067
Total [baseline] (9.519 s) : 0, 9518665
Agent [candidate] (1.164 s) : 0, 1164380
Total [candidate] (9.573 s) : 0, 9573130
section profiling
Agent [baseline] (1.241 s) : 0, 1241135
Total [baseline] (9.585 s) : 0, 9585416
Agent [candidate] (1.259 s) : 0, 1258828
Total [candidate] (9.573 s) : 0, 9572512
gantt
title petclinic - break down per module: candidate=1.26.0-SNAPSHOT~24198723c4, baseline=1.26.0-SNAPSHOT~61aca5c9d8
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (647.806 ms) : 0, 647806
BytebuddyAgent [candidate] (651.086 ms) : 0, 651086
GlobalTracer [baseline] (306.66 ms) : 0, 306660
GlobalTracer [candidate] (308.547 ms) : 0, 308547
AppSec [baseline] (50.96 ms) : 0, 50960
AppSec [candidate] (51.001 ms) : 0, 51001
Remote Config [baseline] (681.143 µs) : 0, 681
Remote Config [candidate] (682.019 µs) : 0, 682
Telemetry [baseline] (7.285 ms) : 0, 7285
Telemetry [candidate] (7.285 ms) : 0, 7285
section appsec
BytebuddyAgent [baseline] (650.278 ms) : 0, 650278
BytebuddyAgent [candidate] (645.995 ms) : 0, 645995
GlobalTracer [baseline] (307.33 ms) : 0, 307330
GlobalTracer [candidate] (305.588 ms) : 0, 305588
AppSec [baseline] (149.239 ms) : 0, 149239
AppSec [candidate] (148.987 ms) : 0, 148987
Remote Config [baseline] (654.893 µs) : 0, 655
Remote Config [candidate] (642.333 µs) : 0, 642
Telemetry [baseline] (7.467 ms) : 0, 7467
Telemetry [candidate] (6.791 ms) : 0, 6791
section iast
BytebuddyAgent [baseline] (767.055 ms) : 0, 767055
BytebuddyAgent [candidate] (767.884 ms) : 0, 767884
GlobalTracer [baseline] (284.564 ms) : 0, 284564
GlobalTracer [candidate] (285.308 ms) : 0, 285308
AppSec [baseline] (48.86 ms) : 0, 48860
AppSec [candidate] (48.846 ms) : 0, 48846
Remote Config [baseline] (607.564 µs) : 0, 608
Remote Config [candidate] (611.142 µs) : 0, 611
Telemetry [baseline] (7.23 ms) : 0, 7230
Telemetry [candidate] (6.461 ms) : 0, 6461
IAST [baseline] (20.502 ms) : 0, 20502
IAST [candidate] (21.062 ms) : 0, 21062
section profiling
ProfilingAgent [baseline] (94.154 ms) : 0, 94154
ProfilingAgent [candidate] (95.272 ms) : 0, 95272
BytebuddyAgent [baseline] (656.86 ms) : 0, 656860
BytebuddyAgent [candidate] (666.961 ms) : 0, 666961
GlobalTracer [baseline] (376.458 ms) : 0, 376458
GlobalTracer [candidate] (381.542 ms) : 0, 381542
AppSec [baseline] (51.512 ms) : 0, 51512
AppSec [candidate] (51.965 ms) : 0, 51965
Remote Config [baseline] (662.459 µs) : 0, 662
Remote Config [candidate] (672.588 µs) : 0, 673
Telemetry [baseline] (7.428 ms) : 0, 7428
Telemetry [candidate] (7.567 ms) : 0, 7567
Profiling [baseline] (94.18 ms) : 0, 94180
Profiling [candidate] (95.297 ms) : 0, 95297
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.26.0-SNAPSHOT~24198723c4, baseline=1.26.0-SNAPSHOT~61aca5c9d8
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.055 s) : 0, 1054536
Total [baseline] (8.712 s) : 0, 8712175
Agent [candidate] (1.056 s) : 0, 1055704
Total [candidate] (8.727 s) : 0, 8727212
section iast
Agent [baseline] (1.172 s) : 0, 1171502
Total [baseline] (9.269 s) : 0, 9268989
Agent [candidate] (1.165 s) : 0, 1164881
Total [candidate] (9.24 s) : 0, 9240130
section iast_TELEMETRY_OFF
Agent [baseline] (1.154 s) : 0, 1154356
Total [baseline] (9.228 s) : 0, 9228059
Agent [candidate] (1.169 s) : 0, 1168644
Total [candidate] (9.261 s) : 0, 9261478
gantt
title insecure-bank - break down per module: candidate=1.26.0-SNAPSHOT~24198723c4, baseline=1.26.0-SNAPSHOT~61aca5c9d8
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (651.748 ms) : 0, 651748
BytebuddyAgent [candidate] (651.839 ms) : 0, 651839
GlobalTracer [baseline] (308.404 ms) : 0, 308404
GlobalTracer [candidate] (309.937 ms) : 0, 309937
AppSec [baseline] (51.888 ms) : 0, 51888
AppSec [candidate] (51.525 ms) : 0, 51525
Remote Config [baseline] (674.078 µs) : 0, 674
Remote Config [candidate] (677.953 µs) : 0, 678
Telemetry [baseline] (7.275 ms) : 0, 7275
Telemetry [candidate] (7.288 ms) : 0, 7288
section iast
BytebuddyAgent [baseline] (772.628 ms) : 0, 772628
BytebuddyAgent [candidate] (768.192 ms) : 0, 768192
GlobalTracer [baseline] (286.354 ms) : 0, 286354
GlobalTracer [candidate] (285.347 ms) : 0, 285347
AppSec [baseline] (49.396 ms) : 0, 49396
AppSec [candidate] (48.875 ms) : 0, 48875
Remote Config [baseline] (615.673 µs) : 0, 616
Remote Config [candidate] (611.134 µs) : 0, 611
Telemetry [baseline] (7.408 ms) : 0, 7408
Telemetry [candidate] (6.488 ms) : 0, 6488
IAST [baseline] (20.632 ms) : 0, 20632
IAST [candidate] (21.188 ms) : 0, 21188
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (758.879 ms) : 0, 758879
BytebuddyAgent [candidate] (768.166 ms) : 0, 768166
GlobalTracer [baseline] (284.538 ms) : 0, 284538
GlobalTracer [candidate] (288.252 ms) : 0, 288252
AppSec [baseline] (49.318 ms) : 0, 49318
AppSec [candidate] (49.565 ms) : 0, 49565
Remote Config [baseline] (625.821 µs) : 0, 626
Remote Config [candidate] (621.206 µs) : 0, 621
Telemetry [baseline] (7.356 ms) : 0, 7356
Telemetry [candidate] (8.81 ms) : 0, 8810
IAST [baseline] (19.493 ms) : 0, 19493
IAST [candidate] (18.665 ms) : 0, 18665
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 14 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~24198723c4, baseline=1.26.0-SNAPSHOT~61aca5c9d8
dateFormat X
axisFormat %s
section baseline
no_agent (1.346 ms) : 1327, 1365
. : milestone, 1346,
appsec (1.753 ms) : 1728, 1777
. : milestone, 1753,
iast (1.526 ms) : 1502, 1550
. : milestone, 1526,
profiling (1.514 ms) : 1489, 1540
. : milestone, 1514,
tracing (1.494 ms) : 1469, 1519
. : milestone, 1494,
section candidate
no_agent (1.35 ms) : 1332, 1369
. : milestone, 1350,
appsec (1.737 ms) : 1712, 1763
. : milestone, 1737,
iast (1.505 ms) : 1481, 1530
. : milestone, 1505,
profiling (1.497 ms) : 1472, 1522
. : milestone, 1497,
tracing (1.502 ms) : 1477, 1526
. : milestone, 1502,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~24198723c4, baseline=1.26.0-SNAPSHOT~61aca5c9d8
dateFormat X
axisFormat %s
section baseline
no_agent (367.021 µs) : 345, 389
. : milestone, 367,
iast (460.899 µs) : 441, 481
. : milestone, 461,
iast_FULL (533.975 µs) : 514, 554
. : milestone, 534,
iast_INACTIVE (439.477 µs) : 419, 460
. : milestone, 439,
iast_TELEMETRY_OFF (473.719 µs) : 453, 495
. : milestone, 474,
tracing (437.941 µs) : 416, 460
. : milestone, 438,
section candidate
no_agent (360.853 µs) : 340, 381
. : milestone, 361,
iast (470.507 µs) : 450, 491
. : milestone, 471,
iast_FULL (531.613 µs) : 511, 552
. : milestone, 532,
iast_INACTIVE (445.292 µs) : 424, 466
. : milestone, 445,
iast_TELEMETRY_OFF (455.098 µs) : 435, 475
. : milestone, 455,
tracing (435.569 µs) : 415, 457
. : milestone, 436,
|
romainkomorn-exdatadog
approved these changes
Dec 18, 2023
nikita-tkachenko-datadog
deleted the
nikita-tkachenko/itr-configurations-fix
branch
December 18, 2023 10:29
This file contains hidden or 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
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
Ignores configuration objects when comparing
TestIdentifierobjects.Motivation
Test identifiers comparison is done when determining whether to skip a test with ITR, or whether to retry a flaky test.
There are some inconsistencies in how the backend populates test configurations (depending on some conditions it may return a partially filled configuration block, an empty object, or a null).
Rather than trying to replicate the backend's logic in the tracer, it was decided to not use test configurations for comparison: the relevant fields are not be present in the backend's response anyway (since they are provided by the tracer when requesting tests data, the backend does not include them in the response).
Jira ticket: CIVIS-8358