Fix ContextStore#putIfAbsent method to not use a lambda#6360
Merged
nikita-tkachenko-datadog merged 3 commits intoDec 15, 2023
Conversation
bantonsson
approved these changes
Dec 13, 2023
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 48 metrics, 6 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.26.0-SNAPSHOT~a820564a6d, baseline=1.26.0-SNAPSHOT~24b4605d43
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1051916
Total [baseline] (9.37 s) : 0, 9369789
Agent [candidate] (1.048 s) : 0, 1048090
Total [candidate] (9.413 s) : 0, 9413225
section appsec
Agent [baseline] (1.15 s) : 0, 1149939
Total [baseline] (9.468 s) : 0, 9468249
Agent [candidate] (1.156 s) : 0, 1156258
Total [candidate] (9.572 s) : 0, 9572064
section iast
Agent [baseline] (1.174 s) : 0, 1174216
Total [baseline] (9.572 s) : 0, 9571656
Agent [candidate] (1.165 s) : 0, 1165444
Total [candidate] (9.534 s) : 0, 9533949
section profiling
Agent [baseline] (1.252 s) : 0, 1252097
Total [baseline] (9.751 s) : 0, 9751212
Agent [candidate] (1.246 s) : 0, 1246253
Total [candidate] (9.61 s) : 0, 9609724
gantt
title petclinic - break down per module: candidate=1.26.0-SNAPSHOT~a820564a6d, baseline=1.26.0-SNAPSHOT~24b4605d43
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (650.662 ms) : 0, 650662
BytebuddyAgent [candidate] (647.657 ms) : 0, 647657
GlobalTracer [baseline] (307.673 ms) : 0, 307673
GlobalTracer [candidate] (307.086 ms) : 0, 307086
AppSec [baseline] (51.324 ms) : 0, 51324
AppSec [candidate] (51.24 ms) : 0, 51240
Remote Config [baseline] (668.11 µs) : 0, 668
Remote Config [candidate] (671.976 µs) : 0, 672
Telemetry [baseline] (7.206 ms) : 0, 7206
Telemetry [candidate] (7.235 ms) : 0, 7235
section appsec
BytebuddyAgent [baseline] (651.38 ms) : 0, 651380
BytebuddyAgent [candidate] (652.515 ms) : 0, 652515
GlobalTracer [baseline] (307.184 ms) : 0, 307184
GlobalTracer [candidate] (310.486 ms) : 0, 310486
AppSec [baseline] (149.249 ms) : 0, 149249
AppSec [candidate] (151.187 ms) : 0, 151187
Remote Config [baseline] (644.564 µs) : 0, 645
Remote Config [candidate] (658.605 µs) : 0, 659
Telemetry [baseline] (6.889 ms) : 0, 6889
Telemetry [candidate] (6.998 ms) : 0, 6998
section iast
BytebuddyAgent [baseline] (773.944 ms) : 0, 773944
BytebuddyAgent [candidate] (767.97 ms) : 0, 767970
GlobalTracer [baseline] (286.847 ms) : 0, 286847
GlobalTracer [candidate] (285.241 ms) : 0, 285241
AppSec [baseline] (49.505 ms) : 0, 49505
AppSec [candidate] (48.869 ms) : 0, 48869
Remote Config [baseline] (619.768 µs) : 0, 620
Remote Config [candidate] (616.648 µs) : 0, 617
Telemetry [baseline] (7.3 ms) : 0, 7300
Telemetry [candidate] (7.264 ms) : 0, 7264
IAST [baseline] (21.452 ms) : 0, 21452
IAST [candidate] (21.135 ms) : 0, 21135
section profiling
ProfilingAgent [baseline] (95.732 ms) : 0, 95732
ProfilingAgent [candidate] (93.782 ms) : 0, 93782
BytebuddyAgent [baseline] (662.249 ms) : 0, 662249
BytebuddyAgent [candidate] (660.386 ms) : 0, 660386
GlobalTracer [baseline] (379.65 ms) : 0, 379650
GlobalTracer [candidate] (377.759 ms) : 0, 377759
AppSec [baseline] (51.546 ms) : 0, 51546
AppSec [candidate] (51.671 ms) : 0, 51671
Remote Config [baseline] (685.671 µs) : 0, 686
Remote Config [candidate] (679.429 µs) : 0, 679
Telemetry [baseline] (7.543 ms) : 0, 7543
Telemetry [candidate] (7.513 ms) : 0, 7513
Profiling [baseline] (95.76 ms) : 0, 95760
Profiling [candidate] (93.809 ms) : 0, 93809
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.26.0-SNAPSHOT~a820564a6d, baseline=1.26.0-SNAPSHOT~24b4605d43
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.051 s) : 0, 1051276
Total [baseline] (8.702 s) : 0, 8701700
Agent [candidate] (1.048 s) : 0, 1047513
Total [candidate] (8.723 s) : 0, 8722965
section iast
Agent [baseline] (1.166 s) : 0, 1165943
Total [baseline] (9.297 s) : 0, 9297476
Agent [candidate] (1.174 s) : 0, 1173585
Total [candidate] (9.272 s) : 0, 9272286
section iast_TELEMETRY_OFF
Agent [baseline] (1.16 s) : 0, 1160185
Total [baseline] (9.264 s) : 0, 9264229
Agent [candidate] (1.157 s) : 0, 1157335
Total [candidate] (9.264 s) : 0, 9263657
gantt
title insecure-bank - break down per module: candidate=1.26.0-SNAPSHOT~a820564a6d, baseline=1.26.0-SNAPSHOT~24b4605d43
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (651.435 ms) : 0, 651435
BytebuddyAgent [candidate] (647.608 ms) : 0, 647608
GlobalTracer [baseline] (306.359 ms) : 0, 306359
GlobalTracer [candidate] (306.487 ms) : 0, 306487
AppSec [baseline] (51.049 ms) : 0, 51049
AppSec [candidate] (51.442 ms) : 0, 51442
Remote Config [baseline] (685.216 µs) : 0, 685
Remote Config [candidate] (666.917 µs) : 0, 667
Telemetry [baseline] (7.181 ms) : 0, 7181
Telemetry [candidate] (7.109 ms) : 0, 7109
section iast
BytebuddyAgent [baseline] (767.519 ms) : 0, 767519
BytebuddyAgent [candidate] (772.975 ms) : 0, 772975
GlobalTracer [baseline] (286.448 ms) : 0, 286448
GlobalTracer [candidate] (287.231 ms) : 0, 287231
AppSec [baseline] (49.037 ms) : 0, 49037
AppSec [candidate] (49.316 ms) : 0, 49316
IAST [baseline] (21.45 ms) : 0, 21450
IAST [candidate] (21.523 ms) : 0, 21523
Remote Config [baseline] (616.384 µs) : 0, 616
Remote Config [candidate] (629.151 µs) : 0, 629
Telemetry [baseline] (6.527 ms) : 0, 6527
Telemetry [candidate] (7.326 ms) : 0, 7326
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (761.913 ms) : 0, 761913
BytebuddyAgent [candidate] (761.532 ms) : 0, 761532
GlobalTracer [baseline] (285.993 ms) : 0, 285993
GlobalTracer [candidate] (286.164 ms) : 0, 286164
AppSec [baseline] (49.208 ms) : 0, 49208
AppSec [candidate] (49.243 ms) : 0, 49243
IAST [baseline] (20.799 ms) : 0, 20799
IAST [candidate] (19.068 ms) : 0, 19068
Remote Config [baseline] (619.635 µs) : 0, 620
Remote Config [candidate] (621.708 µs) : 0, 622
Telemetry [baseline] (7.273 ms) : 0, 7273
Telemetry [candidate] (6.551 ms) : 0, 6551
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 12 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~a820564a6d, baseline=1.26.0-SNAPSHOT~24b4605d43
dateFormat X
axisFormat %s
section baseline
no_agent (1.351 ms) : 1332, 1370
. : milestone, 1351,
appsec (1.781 ms) : 1756, 1807
. : milestone, 1781,
iast (1.516 ms) : 1492, 1541
. : milestone, 1516,
profiling (1.535 ms) : 1511, 1560
. : milestone, 1535,
tracing (1.506 ms) : 1481, 1531
. : milestone, 1506,
section candidate
no_agent (1.357 ms) : 1338, 1376
. : milestone, 1357,
appsec (1.75 ms) : 1725, 1775
. : milestone, 1750,
iast (1.561 ms) : 1536, 1585
. : milestone, 1561,
profiling (1.509 ms) : 1483, 1534
. : milestone, 1509,
tracing (1.499 ms) : 1474, 1524
. : milestone, 1499,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~a820564a6d, baseline=1.26.0-SNAPSHOT~24b4605d43
dateFormat X
axisFormat %s
section baseline
no_agent (365.328 µs) : 346, 385
. : milestone, 365,
iast (484.192 µs) : 463, 505
. : milestone, 484,
iast_FULL (539.554 µs) : 519, 560
. : milestone, 540,
iast_INACTIVE (455.478 µs) : 434, 477
. : milestone, 455,
iast_TELEMETRY_OFF (481.648 µs) : 461, 502
. : milestone, 482,
tracing (445.25 µs) : 424, 466
. : milestone, 445,
section candidate
no_agent (371.624 µs) : 352, 392
. : milestone, 372,
iast (470.076 µs) : 450, 491
. : milestone, 470,
iast_FULL (543.688 µs) : 523, 564
. : milestone, 544,
iast_INACTIVE (447.129 µs) : 427, 467
. : milestone, 447,
iast_TELEMETRY_OFF (475.708 µs) : 454, 497
. : milestone, 476,
tracing (441.225 µs) : 421, 462
. : milestone, 441,
|
mcculls
approved these changes
Dec 15, 2023
nikita-tkachenko-datadog
deleted the
nikita-tkachenko/context-store-fix
branch
December 15, 2023 14:54
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
Fixes
ContextStore#putIfAbsentimplementations following a change introduced in PR#6332Jira ticket: CIVIS-8243