-
Notifications
You must be signed in to change notification settings - Fork 304
ServiceTalk Captured Context API Instrumentation for v0.42.56+ #8821
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
ServiceTalk Captured Context API Instrumentation for v0.42.56+ #8821
Conversation
…prevent instrumentation errors.
BenchmarksStartupParameters
See matching parameters
SummaryFound 4 performance improvements and 2 performance regressions! Performance is the same for 52 metrics, 13 unstable metrics.
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.04 s) : 0, 1040065
Total [baseline] (10.498 s) : 0, 10497798
Agent [candidate] (1.025 s) : 0, 1025298
Total [candidate] (10.459 s) : 0, 10459369
section appsec
Agent [baseline] (1.165 s) : 0, 1164689
Total [baseline] (10.699 s) : 0, 10699488
Agent [candidate] (1.17 s) : 0, 1169699
Total [candidate] (10.732 s) : 0, 10732127
section iast
Agent [baseline] (1.16 s) : 0, 1159838
Total [baseline] (10.911 s) : 0, 10910688
Agent [candidate] (1.166 s) : 0, 1165619
Total [candidate] (10.878 s) : 0, 10878423
section profiling
Agent [baseline] (1.291 s) : 0, 1291043
Total [baseline] (10.885 s) : 0, 10884600
Agent [candidate] (1.269 s) : 0, 1269253
Total [candidate] (10.911 s) : 0, 10910992
gantt
title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (697.37 ms) : 0, 697370
BytebuddyAgent [candidate] (684.442 ms) : 0, 684442
GlobalTracer [baseline] (244.227 ms) : 0, 244227
GlobalTracer [candidate] (240.95 ms) : 0, 240950
AppSec [baseline] (55.461 ms) : 0, 55461
AppSec [candidate] (58.446 ms) : 0, 58446
Debugger [baseline] (8.436 ms) : 0, 8436
Debugger [candidate] (6.152 ms) : 0, 6152
Remote Config [baseline] (709.613 µs) : 0, 710
Remote Config [candidate] (738.049 µs) : 0, 738
Telemetry [baseline] (9.933 ms) : 0, 9933
Telemetry [candidate] (11.079 ms) : 0, 11079
section appsec
BytebuddyAgent [baseline] (702.636 ms) : 0, 702636
BytebuddyAgent [candidate] (704.861 ms) : 0, 704861
GlobalTracer [baseline] (237.352 ms) : 0, 237352
GlobalTracer [candidate] (239.123 ms) : 0, 239123
AppSec [baseline] (175.867 ms) : 0, 175867
AppSec [candidate] (177.223 ms) : 0, 177223
Debugger [baseline] (5.92 ms) : 0, 5920
Debugger [candidate] (6.011 ms) : 0, 6011
Remote Config [baseline] (626.4 µs) : 0, 626
Remote Config [candidate] (648.233 µs) : 0, 648
Telemetry [baseline] (7.719 ms) : 0, 7719
Telemetry [candidate] (7.413 ms) : 0, 7413
IAST [baseline] (21.834 ms) : 0, 21834
IAST [candidate] (21.746 ms) : 0, 21746
section iast
BytebuddyAgent [baseline] (809.725 ms) : 0, 809725
BytebuddyAgent [candidate] (812.902 ms) : 0, 812902
GlobalTracer [baseline] (232.659 ms) : 0, 232659
GlobalTracer [candidate] (234.396 ms) : 0, 234396
AppSec [baseline] (50.748 ms) : 0, 50748
AppSec [candidate] (51.756 ms) : 0, 51756
Debugger [baseline] (5.966 ms) : 0, 5966
Debugger [candidate] (5.991 ms) : 0, 5991
Remote Config [baseline] (593.51 µs) : 0, 594
Remote Config [candidate] (610.902 µs) : 0, 611
Telemetry [baseline] (7.958 ms) : 0, 7958
Telemetry [candidate] (8.065 ms) : 0, 8065
IAST [baseline] (27.74 ms) : 0, 27740
IAST [candidate] (28.213 ms) : 0, 28213
section profiling
BytebuddyAgent [baseline] (680.711 ms) : 0, 680711
BytebuddyAgent [candidate] (677.414 ms) : 0, 677414
GlobalTracer [baseline] (379.138 ms) : 0, 379138
GlobalTracer [candidate] (360.783 ms) : 0, 360783
AppSec [baseline] (54.702 ms) : 0, 54702
AppSec [candidate] (61.626 ms) : 0, 61626
Debugger [baseline] (6.165 ms) : 0, 6165
Debugger [candidate] (6.128 ms) : 0, 6128
Remote Config [baseline] (648.412 µs) : 0, 648
Remote Config [candidate] (659.886 µs) : 0, 660
Telemetry [baseline] (8.145 ms) : 0, 8145
Telemetry [candidate] (8.201 ms) : 0, 8201
ProfilingAgent [baseline] (110.258 ms) : 0, 110258
ProfilingAgent [candidate] (103.24 ms) : 0, 103240
Profiling [baseline] (110.284 ms) : 0, 110284
Profiling [candidate] (103.264 ms) : 0, 103264
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.021 s) : 0, 1021402
Total [baseline] (8.645 s) : 0, 8645364
Agent [candidate] (1.019 s) : 0, 1019363
Total [candidate] (8.674 s) : 0, 8673988
section iast
Agent [baseline] (1.148 s) : 0, 1148272
Total [baseline] (9.279 s) : 0, 9278602
Agent [candidate] (1.158 s) : 0, 1158022
Total [candidate] (9.222 s) : 0, 9222256
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.148 s) : 0, 1148272
Total [baseline] (9.191 s) : 0, 9190909
Agent [candidate] (1.151 s) : 0, 1150584
Total [candidate] (9.18 s) : 0, 9179691
section iast_TELEMETRY_OFF
Agent [baseline] (1.152 s) : 0, 1152049
Total [baseline] (9.253 s) : 0, 9253170
Agent [candidate] (1.147 s) : 0, 1146603
Total [candidate] (9.196 s) : 0, 9195636
gantt
title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (681.65 ms) : 0, 681650
BytebuddyAgent [candidate] (684.115 ms) : 0, 684115
GlobalTracer [baseline] (239.777 ms) : 0, 239777
GlobalTracer [candidate] (240.727 ms) : 0, 240727
AppSec [baseline] (56.038 ms) : 0, 56038
AppSec [candidate] (55.071 ms) : 0, 55071
Debugger [baseline] (10.85 ms) : 0, 10850
Debugger [candidate] (6.168 ms) : 0, 6168
Remote Config [baseline] (678.118 µs) : 0, 678
Remote Config [candidate] (746.737 µs) : 0, 747
Telemetry [baseline] (8.944 ms) : 0, 8944
Telemetry [candidate] (9.069 ms) : 0, 9069
section iast
BytebuddyAgent [baseline] (801.121 ms) : 0, 801121
BytebuddyAgent [candidate] (808.045 ms) : 0, 808045
GlobalTracer [baseline] (230.127 ms) : 0, 230127
GlobalTracer [candidate] (232.449 ms) : 0, 232449
AppSec [baseline] (49.824 ms) : 0, 49824
AppSec [candidate] (52.143 ms) : 0, 52143
Debugger [baseline] (5.915 ms) : 0, 5915
Debugger [candidate] (5.946 ms) : 0, 5946
Remote Config [baseline] (596.183 µs) : 0, 596
Remote Config [candidate] (594.574 µs) : 0, 595
Telemetry [baseline] (7.922 ms) : 0, 7922
Telemetry [candidate] (7.944 ms) : 0, 7944
IAST [baseline] (29.327 ms) : 0, 29327
IAST [candidate] (27.161 ms) : 0, 27161
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (801.198 ms) : 0, 801198
BytebuddyAgent [candidate] (802.759 ms) : 0, 802759
GlobalTracer [baseline] (230.628 ms) : 0, 230628
GlobalTracer [candidate] (231.52 ms) : 0, 231520
AppSec [baseline] (50.248 ms) : 0, 50248
AppSec [candidate] (50.181 ms) : 0, 50181
Debugger [baseline] (5.907 ms) : 0, 5907
Debugger [candidate] (5.856 ms) : 0, 5856
Remote Config [baseline] (583.413 µs) : 0, 583
Remote Config [candidate] (563.606 µs) : 0, 564
Telemetry [baseline] (7.861 ms) : 0, 7861
Telemetry [candidate] (7.903 ms) : 0, 7903
IAST [baseline] (28.359 ms) : 0, 28359
IAST [candidate] (27.511 ms) : 0, 27511
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (803.153 ms) : 0, 803153
BytebuddyAgent [candidate] (799.442 ms) : 0, 799442
GlobalTracer [baseline] (231.46 ms) : 0, 231460
GlobalTracer [candidate] (231.279 ms) : 0, 231279
AppSec [baseline] (56.445 ms) : 0, 56445
AppSec [candidate] (49.389 ms) : 0, 49389
Debugger [baseline] (6.073 ms) : 0, 6073
Debugger [candidate] (5.896 ms) : 0, 5896
Remote Config [baseline] (606.413 µs) : 0, 606
Remote Config [candidate] (582.858 µs) : 0, 583
Telemetry [baseline] (8.031 ms) : 0, 8031
Telemetry [candidate] (7.775 ms) : 0, 7775
IAST [baseline] (22.631 ms) : 0, 22631
IAST [candidate] (28.757 ms) : 0, 28757
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 18 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section baseline
no_agent (1.34 ms) : 1320, 1359
. : milestone, 1340,
appsec (1.743 ms) : 1720, 1766
. : milestone, 1743,
appsec_no_iast (1.736 ms) : 1713, 1759
. : milestone, 1736,
code_origins (1.645 ms) : 1618, 1673
. : milestone, 1645,
iast (1.513 ms) : 1488, 1538
. : milestone, 1513,
profiling (1.523 ms) : 1500, 1547
. : milestone, 1523,
tracing (1.502 ms) : 1478, 1525
. : milestone, 1502,
section candidate
no_agent (1.368 ms) : 1349, 1387
. : milestone, 1368,
appsec (1.715 ms) : 1692, 1738
. : milestone, 1715,
appsec_no_iast (1.748 ms) : 1724, 1771
. : milestone, 1748,
code_origins (1.684 ms) : 1658, 1711
. : milestone, 1684,
iast (1.519 ms) : 1495, 1542
. : milestone, 1519,
profiling (1.505 ms) : 1482, 1528
. : milestone, 1505,
tracing (1.489 ms) : 1465, 1514
. : milestone, 1489,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section baseline
no_agent (388.251 µs) : 367, 409
. : milestone, 388,
iast (519.703 µs) : 498, 542
. : milestone, 520,
iast_FULL (732.082 µs) : 710, 754
. : milestone, 732,
iast_GLOBAL (562.243 µs) : 540, 584
. : milestone, 562,
iast_HARDCODED_SECRET_DISABLED (518.826 µs) : 497, 541
. : milestone, 519,
iast_INACTIVE (472.205 µs) : 449, 495
. : milestone, 472,
iast_TELEMETRY_OFF (517.015 µs) : 494, 540
. : milestone, 517,
tracing (459.528 µs) : 438, 481
. : milestone, 460,
section candidate
no_agent (381.065 µs) : 360, 402
. : milestone, 381,
iast (521.664 µs) : 500, 544
. : milestone, 522,
iast_FULL (745.029 µs) : 723, 767
. : milestone, 745,
iast_GLOBAL (563.285 µs) : 540, 586
. : milestone, 563,
iast_HARDCODED_SECRET_DISABLED (523.302 µs) : 501, 545
. : milestone, 523,
iast_INACTIVE (464.77 µs) : 442, 487
. : milestone, 465,
iast_TELEMETRY_OFF (514.864 µs) : 493, 537
. : milestone, 515,
tracing (465.271 µs) : 443, 488
. : milestone, 465,
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.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section baseline
no_agent (14.962 s) : 14962000, 14962000
. : milestone, 14962000,
appsec (14.924 s) : 14924000, 14924000
. : milestone, 14924000,
iast (18.892 s) : 18892000, 18892000
. : milestone, 18892000,
iast_GLOBAL (17.896 s) : 17896000, 17896000
. : milestone, 17896000,
profiling (15.055 s) : 15055000, 15055000
. : milestone, 15055000,
tracing (14.878 s) : 14878000, 14878000
. : milestone, 14878000,
section candidate
no_agent (15.326 s) : 15326000, 15326000
. : milestone, 15326000,
appsec (14.988 s) : 14988000, 14988000
. : milestone, 14988000,
iast (19.167 s) : 19167000, 19167000
. : milestone, 19167000,
iast_GLOBAL (18.113 s) : 18113000, 18113000
. : milestone, 18113000,
profiling (14.982 s) : 14982000, 14982000
. : milestone, 14982000,
tracing (15.116 s) : 15116000, 15116000
. : milestone, 15116000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~0c0e25f8cd, baseline=1.50.0-SNAPSHOT~ad6d5fef42
dateFormat X
axisFormat %s
section baseline
no_agent (1.487 ms) : 1475, 1498
. : milestone, 1487,
appsec (2.414 ms) : 2365, 2462
. : milestone, 2414,
iast (2.191 ms) : 2129, 2252
. : milestone, 2191,
iast_GLOBAL (2.24 ms) : 2177, 2302
. : milestone, 2240,
profiling (2.053 ms) : 2003, 2102
. : milestone, 2053,
tracing (2.025 ms) : 1977, 2072
. : milestone, 2025,
section candidate
no_agent (1.485 ms) : 1473, 1496
. : milestone, 1485,
appsec (2.421 ms) : 2372, 2470
. : milestone, 2421,
iast (2.203 ms) : 2142, 2265
. : milestone, 2203,
iast_GLOBAL (2.24 ms) : 2178, 2302
. : milestone, 2240,
profiling (2.044 ms) : 1995, 2094
. : milestone, 2044,
tracing (2.032 ms) : 1984, 2080
. : milestone, 2032,
|
e1e7f85
to
23b0ecf
Compare
8d635f2
to
2ea0cec
Compare
e7a0fca
to
d8ad4d6
Compare
…ey don't interfere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
…y version for now
1b4a8c1
to
5c2f307
Compare
What Does This Do
Implements new instrumentation for the captured context API available in ServiceTalk 0.42.56+
It also splits the instrumentation in two:
Uses the previous instrumentation approach.
Uses the new Captured Context API.
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]