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
Add support for kafka bytebuffers in 3.x #6736
Conversation
dde095b
to
0df35b8
Compare
Kafka / producer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 50 metrics, 13 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.32.0-SNAPSHOT~9a13db1d0a, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.08 s) : 0, 1080381
Total [baseline] (8.578 s) : 0, 8578476
Agent [candidate] (1.089 s) : 0, 1089217
Total [candidate] (8.573 s) : 0, 8573474
section iast
Agent [baseline] (1.213 s) : 0, 1212801
Total [baseline] (9.069 s) : 0, 9068694
Agent [candidate] (1.208 s) : 0, 1207782
Total [candidate] (9.051 s) : 0, 9051374
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.215 s) : 0, 1215241
Total [baseline] (9.056 s) : 0, 9056087
Agent [candidate] (1.211 s) : 0, 1210749
Total [candidate] (9.038 s) : 0, 9038111
section iast_TELEMETRY_OFF
Agent [baseline] (1.207 s) : 0, 1206548
Total [baseline] (9.061 s) : 0, 9061146
Agent [candidate] (1.206 s) : 0, 1206135
Total [candidate] (9.059 s) : 0, 9058968
gantt
title insecure-bank - break down per module: candidate=1.32.0-SNAPSHOT~9a13db1d0a, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (696.18 ms) : 0, 696180
BytebuddyAgent [candidate] (701.402 ms) : 0, 701402
GlobalTracer [baseline] (290.932 ms) : 0, 290932
GlobalTracer [candidate] (293.813 ms) : 0, 293813
AppSec [baseline] (50.442 ms) : 0, 50442
AppSec [candidate] (50.782 ms) : 0, 50782
Remote Config [baseline] (727.057 µs) : 0, 727
Remote Config [candidate] (742.267 µs) : 0, 742
Telemetry [baseline] (7.74 ms) : 0, 7740
Telemetry [candidate] (7.858 ms) : 0, 7858
section iast
BytebuddyAgent [baseline] (805.579 ms) : 0, 805579
BytebuddyAgent [candidate] (801.182 ms) : 0, 801182
GlobalTracer [baseline] (289.298 ms) : 0, 289298
GlobalTracer [candidate] (289.305 ms) : 0, 289305
AppSec [baseline] (53.684 ms) : 0, 53684
AppSec [candidate] (54.276 ms) : 0, 54276
IAST [baseline] (21.642 ms) : 0, 21642
IAST [candidate] (21.386 ms) : 0, 21386
Remote Config [baseline] (588.519 µs) : 0, 589
Remote Config [candidate] (585.755 µs) : 0, 586
Telemetry [baseline] (7.474 ms) : 0, 7474
Telemetry [candidate] (6.68 ms) : 0, 6680
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (806.021 ms) : 0, 806021
BytebuddyAgent [candidate] (802.87 ms) : 0, 802870
GlobalTracer [baseline] (290.282 ms) : 0, 290282
GlobalTracer [candidate] (290.172 ms) : 0, 290172
AppSec [baseline] (51.295 ms) : 0, 51295
AppSec [candidate] (53.174 ms) : 0, 53174
IAST [baseline] (25.729 ms) : 0, 25729
IAST [candidate] (22.001 ms) : 0, 22001
Remote Config [baseline] (593.773 µs) : 0, 594
Remote Config [candidate] (586.491 µs) : 0, 586
Telemetry [baseline] (6.709 ms) : 0, 6709
Telemetry [candidate] (7.413 ms) : 0, 7413
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (796.744 ms) : 0, 796744
BytebuddyAgent [candidate] (797.221 ms) : 0, 797221
GlobalTracer [baseline] (291.618 ms) : 0, 291618
GlobalTracer [candidate] (291.48 ms) : 0, 291480
AppSec [baseline] (52.392 ms) : 0, 52392
AppSec [candidate] (52.287 ms) : 0, 52287
IAST [baseline] (23.396 ms) : 0, 23396
IAST [candidate] (22.795 ms) : 0, 22795
Remote Config [baseline] (595.361 µs) : 0, 595
Remote Config [candidate] (606.415 µs) : 0, 606
Telemetry [baseline] (7.319 ms) : 0, 7319
Telemetry [candidate] (7.343 ms) : 0, 7343
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.32.0-SNAPSHOT~9a13db1d0a, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.093 s) : 0, 1092706
Total [baseline] (9.19 s) : 0, 9189964
Agent [candidate] (1.085 s) : 0, 1085114
Total [candidate] (9.172 s) : 0, 9171970
section appsec
Agent [baseline] (1.209 s) : 0, 1209396
Total [baseline] (9.361 s) : 0, 9361130
Agent [candidate] (1.214 s) : 0, 1213688
Total [candidate] (9.389 s) : 0, 9388961
section iast
Agent [baseline] (1.211 s) : 0, 1210633
Total [baseline] (9.338 s) : 0, 9338420
Agent [candidate] (1.208 s) : 0, 1207616
Total [candidate] (9.333 s) : 0, 9332656
section profiling
Agent [baseline] (1.273 s) : 0, 1273475
Total [baseline] (9.331 s) : 0, 9330773
Agent [candidate] (1.276 s) : 0, 1275943
Total [candidate] (9.348 s) : 0, 9348228
gantt
title petclinic - break down per module: candidate=1.32.0-SNAPSHOT~9a13db1d0a, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (705.512 ms) : 0, 705512
BytebuddyAgent [candidate] (698.278 ms) : 0, 698278
GlobalTracer [baseline] (292.844 ms) : 0, 292844
GlobalTracer [candidate] (292.879 ms) : 0, 292879
AppSec [baseline] (51.011 ms) : 0, 51011
AppSec [candidate] (51.025 ms) : 0, 51025
Remote Config [baseline] (723.317 µs) : 0, 723
Remote Config [candidate] (725.637 µs) : 0, 726
Telemetry [baseline] (7.763 ms) : 0, 7763
Telemetry [candidate] (7.795 ms) : 0, 7795
section appsec
BytebuddyAgent [baseline] (700.994 ms) : 0, 700994
BytebuddyAgent [candidate] (702.258 ms) : 0, 702258
GlobalTracer [baseline] (292.626 ms) : 0, 292626
GlobalTracer [candidate] (294.052 ms) : 0, 294052
AppSec [baseline] (156.049 ms) : 0, 156049
AppSec [candidate] (157.123 ms) : 0, 157123
Remote Config [baseline] (604.331 µs) : 0, 604
Remote Config [candidate] (620.178 µs) : 0, 620
Telemetry [baseline] (6.839 ms) : 0, 6839
Telemetry [candidate] (6.982 ms) : 0, 6982
IAST [baseline] (17.681 ms) : 0, 17681
IAST [candidate] (18.11 ms) : 0, 18110
section iast
BytebuddyAgent [baseline] (803.27 ms) : 0, 803270
BytebuddyAgent [candidate] (800.759 ms) : 0, 800759
GlobalTracer [baseline] (289.086 ms) : 0, 289086
GlobalTracer [candidate] (288.904 ms) : 0, 288904
AppSec [baseline] (52.47 ms) : 0, 52470
AppSec [candidate] (52.493 ms) : 0, 52493
Remote Config [baseline] (586.786 µs) : 0, 587
Remote Config [candidate] (589.684 µs) : 0, 590
Telemetry [baseline] (6.724 ms) : 0, 6724
Telemetry [candidate] (6.656 ms) : 0, 6656
IAST [baseline] (23.994 ms) : 0, 23994
IAST [candidate] (23.931 ms) : 0, 23931
section profiling
BytebuddyAgent [baseline] (689.37 ms) : 0, 689370
BytebuddyAgent [candidate] (690.13 ms) : 0, 690130
GlobalTracer [baseline] (373.638 ms) : 0, 373638
GlobalTracer [candidate] (374.623 ms) : 0, 374623
AppSec [baseline] (52.418 ms) : 0, 52418
AppSec [candidate] (52.86 ms) : 0, 52860
Remote Config [baseline] (813.041 µs) : 0, 813
Remote Config [candidate] (786.822 µs) : 0, 787
Telemetry [baseline] (7.425 ms) : 0, 7425
Telemetry [candidate] (7.486 ms) : 0, 7486
ProfilingAgent [baseline] (93.525 ms) : 0, 93525
ProfilingAgent [candidate] (93.897 ms) : 0, 93897
Profiling [baseline] (93.55 ms) : 0, 93550
Profiling [candidate] (93.92 ms) : 0, 93920
LoadRequest duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~9a13db1d0a, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section baseline
no_agent (362.274 µs) : 342, 382
. : milestone, 362,
iast (469.344 µs) : 449, 490
. : milestone, 469,
iast_FULL (542.458 µs) : 522, 563
. : milestone, 542,
iast_GLOBAL (496.974 µs) : 476, 518
. : milestone, 497,
iast_HARDCODED_SECRET_DISABLED (473.982 µs) : 453, 495
. : milestone, 474,
iast_INACTIVE (451.042 µs) : 430, 472
. : milestone, 451,
iast_TELEMETRY_OFF (471.878 µs) : 451, 492
. : milestone, 472,
tracing (445.413 µs) : 425, 466
. : milestone, 445,
section candidate
no_agent (372.56 µs) : 351, 394
. : milestone, 373,
iast (473.841 µs) : 450, 497
. : milestone, 474,
iast_FULL (553.58 µs) : 533, 574
. : milestone, 554,
iast_GLOBAL (494.396 µs) : 473, 515
. : milestone, 494,
iast_HARDCODED_SECRET_DISABLED (473.988 µs) : 453, 495
. : milestone, 474,
iast_INACTIVE (451.807 µs) : 430, 473
. : milestone, 452,
iast_TELEMETRY_OFF (472.865 µs) : 452, 494
. : milestone, 473,
tracing (450.843 µs) : 430, 471
. : milestone, 451,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~9a13db1d0a, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section baseline
no_agent (1.364 ms) : 1345, 1383
. : milestone, 1364,
appsec (1.802 ms) : 1779, 1825
. : milestone, 1802,
iast (1.504 ms) : 1481, 1527
. : milestone, 1504,
profiling (1.525 ms) : 1500, 1550
. : milestone, 1525,
tracing (1.525 ms) : 1502, 1548
. : milestone, 1525,
section candidate
no_agent (1.36 ms) : 1342, 1379
. : milestone, 1360,
appsec (1.771 ms) : 1747, 1794
. : milestone, 1771,
iast (1.53 ms) : 1506, 1554
. : milestone, 1530,
profiling (1.612 ms) : 1588, 1636
. : milestone, 1612,
tracing (1.502 ms) : 1479, 1526
. : milestone, 1502,
|
Kafka / consumer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
0df35b8
to
8fc9354
Compare
8fc9354
to
6a46bef
Compare
Hey Manuel, |
2c9cf72
to
5bb5bf2
Compare
de4b6e7
to
ed6082e
Compare
5bb5bf2
to
aff1552
Compare
ed6082e
to
403a2cb
Compare
aff1552
to
b897a99
Compare
Hello @PerfectSlayer, sorry for the late reply. This is part of a stacked commit and, from a Java client library team member standpoint, only this commit makes sense to be reviewed (the rest are IAST related changes to deal with propagation of The PR focuses on the interface
|
403a2cb
to
acd9463
Compare
0b9fec4
to
de15555
Compare
acd9463
to
f8ed665
Compare
de15555
to
be1aef8
Compare
f8ed665
to
ba3dfd3
Compare
be1aef8
to
97a9505
Compare
ba3dfd3
to
8d997b5
Compare
97a9505
to
15c29f9
Compare
8d997b5
to
239a272
Compare
15c29f9
to
f26e3e2
Compare
f26e3e2
to
df9fb8b
Compare
61cf65f
to
5e18a5d
Compare
5e18a5d
to
9a13db1
Compare
What Does This Do
Adds required instrumentation to complete support under Kafka 3.x deserializer API based on byte buffers
Motivation
Additional Notes
Jira ticket: APPSEC-51975