Set concrete types for the response instrumentation#5714
Merged
manuel-alvarez-alvarez merged 1 commit intoAug 14, 2023
Conversation
This comment has been minimized.
This comment has been minimized.
manuel-alvarez-alvarez
force-pushed
the
malvarez/fix-servlet-response-inst
branch
from
August 13, 2023 11:18
1a735b8 to
60353d3
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 62 cases. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.20.0-SNAPSHOT~60353d311f, baseline=1.20.0-SNAPSHOT~bef97ad186
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (991.477 ms) : 0, 991477
Total [baseline] (8.682 s) : 0, 8681754
Agent [candidate] (986.684 ms) : 0, 986684
Total [candidate] (8.642 s) : 0, 8642476
section appsec
Agent [baseline] (1.076 s) : 0, 1075717
Total [baseline] (8.735 s) : 0, 8734943
Agent [candidate] (1.069 s) : 0, 1069438
Total [candidate] (8.68 s) : 0, 8679668
section iast
Agent [baseline] (1.108 s) : 0, 1108100
Total [baseline] (9.2 s) : 0, 9200012
Agent [candidate] (1.092 s) : 0, 1091926
Total [candidate] (9.199 s) : 0, 9198563
section profiling
Agent [baseline] (1.152 s) : 0, 1152084
Total [baseline] (8.871 s) : 0, 8870785
Agent [candidate] (1.155 s) : 0, 1155326
Total [candidate] (8.869 s) : 0, 8868956
gantt
title insecure-bank - break down per module: candidate=1.20.0-SNAPSHOT~60353d311f, baseline=1.20.0-SNAPSHOT~bef97ad186
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (614.353 ms) : 0, 614353
BytebuddyAgent [candidate] (609.89 ms) : 0, 609890
GlobalTracer [baseline] (286.303 ms) : 0, 286303
GlobalTracer [candidate] (285.992 ms) : 0, 285992
AppSec [baseline] (50.118 ms) : 0, 50118
AppSec [candidate] (50.427 ms) : 0, 50427
Remote Config [baseline] (675.509 µs) : 0, 676
Remote Config [candidate] (662.052 µs) : 0, 662
Telemetry [baseline] (5.428 ms) : 0, 5428
Telemetry [candidate] (5.411 ms) : 0, 5411
section appsec
BytebuddyAgent [baseline] (614.195 ms) : 0, 614195
BytebuddyAgent [candidate] (609.873 ms) : 0, 609873
GlobalTracer [baseline] (286.035 ms) : 0, 286035
GlobalTracer [candidate] (284.196 ms) : 0, 284196
AppSec [baseline] (135.156 ms) : 0, 135156
AppSec [candidate] (135.348 ms) : 0, 135348
Remote Config [baseline] (727.795 µs) : 0, 728
Remote Config [candidate] (727.03 µs) : 0, 727
Telemetry [baseline] (5.18 ms) : 0, 5180
Telemetry [candidate] (5.124 ms) : 0, 5124
section iast
BytebuddyAgent [baseline] (728.869 ms) : 0, 728869
BytebuddyAgent [candidate] (717.29 ms) : 0, 717290
GlobalTracer [baseline] (275.691 ms) : 0, 275691
GlobalTracer [candidate] (272.699 ms) : 0, 272699
AppSec [baseline] (47.759 ms) : 0, 47759
AppSec [candidate] (47.168 ms) : 0, 47168
Remote Config [baseline] (665.755 µs) : 0, 666
Remote Config [candidate] (651.16 µs) : 0, 651
Telemetry [baseline] (5.641 ms) : 0, 5641
Telemetry [candidate] (5.519 ms) : 0, 5519
IAST [baseline] (14.378 ms) : 0, 14378
IAST [candidate] (14.114 ms) : 0, 14114
section profiling
BytebuddyAgent [baseline] (622.029 ms) : 0, 622029
BytebuddyAgent [candidate] (622.198 ms) : 0, 622198
GlobalTracer [baseline] (347.759 ms) : 0, 347759
GlobalTracer [candidate] (349.032 ms) : 0, 349032
AppSec [baseline] (48.913 ms) : 0, 48913
AppSec [candidate] (49.291 ms) : 0, 49291
Remote Config [baseline] (653.24 µs) : 0, 653
Remote Config [candidate] (646.078 µs) : 0, 646
Telemetry [baseline] (5.337 ms) : 0, 5337
Telemetry [candidate] (5.314 ms) : 0, 5314
ProfilingAgent [baseline] (74.602 ms) : 0, 74602
ProfilingAgent [candidate] (76.067 ms) : 0, 76067
Profiling [baseline] (74.626 ms) : 0, 74626
Profiling [candidate] (76.091 ms) : 0, 76091
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.20.0-SNAPSHOT~60353d311f, baseline=1.20.0-SNAPSHOT~bef97ad186
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (982.666 ms) : 0, 982666
Total [baseline] (9.155 s) : 0, 9155137
Agent [candidate] (994.824 ms) : 0, 994824
Total [candidate] (9.165 s) : 0, 9165381
section appsec
Agent [baseline] (1.069 s) : 0, 1069362
Total [baseline] (9.231 s) : 0, 9231424
Agent [candidate] (1.076 s) : 0, 1076336
Total [candidate] (9.253 s) : 0, 9252503
section iast
Agent [baseline] (1.092 s) : 0, 1091657
Total [baseline] (9.439 s) : 0, 9439098
Agent [candidate] (1.088 s) : 0, 1088148
Total [candidate] (9.414 s) : 0, 9413873
section profiling
Agent [baseline] (1.154 s) : 0, 1153953
Total [baseline] (9.489 s) : 0, 9489490
Agent [candidate] (1.158 s) : 0, 1158294
Total [candidate] (9.466 s) : 0, 9465728
gantt
title petclinic - break down per module: candidate=1.20.0-SNAPSHOT~60353d311f, baseline=1.20.0-SNAPSHOT~bef97ad186
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (608.942 ms) : 0, 608942
BytebuddyAgent [candidate] (616.291 ms) : 0, 616291
GlobalTracer [baseline] (283.405 ms) : 0, 283405
GlobalTracer [candidate] (287.732 ms) : 0, 287732
AppSec [baseline] (50.065 ms) : 0, 50065
AppSec [candidate] (50.039 ms) : 0, 50039
Remote Config [baseline] (663.534 µs) : 0, 664
Remote Config [candidate] (667.831 µs) : 0, 668
Telemetry [baseline] (5.394 ms) : 0, 5394
Telemetry [candidate] (5.469 ms) : 0, 5469
section appsec
BytebuddyAgent [baseline] (610.627 ms) : 0, 610627
BytebuddyAgent [candidate] (614.301 ms) : 0, 614301
GlobalTracer [baseline] (283.693 ms) : 0, 283693
GlobalTracer [candidate] (286.475 ms) : 0, 286475
AppSec [baseline] (134.924 ms) : 0, 134924
AppSec [candidate] (135.249 ms) : 0, 135249
Remote Config [baseline] (725.134 µs) : 0, 725
Remote Config [candidate] (719.239 µs) : 0, 719
Telemetry [baseline] (5.135 ms) : 0, 5135
Telemetry [candidate] (5.16 ms) : 0, 5160
section iast
BytebuddyAgent [baseline] (717.015 ms) : 0, 717015
BytebuddyAgent [candidate] (714.215 ms) : 0, 714215
GlobalTracer [baseline] (272.637 ms) : 0, 272637
GlobalTracer [candidate] (272.069 ms) : 0, 272069
AppSec [baseline] (47.565 ms) : 0, 47565
AppSec [candidate] (47.202 ms) : 0, 47202
Remote Config [baseline] (643.193 µs) : 0, 643
Remote Config [candidate] (654.588 µs) : 0, 655
Telemetry [baseline] (5.5 ms) : 0, 5500
Telemetry [candidate] (5.598 ms) : 0, 5598
IAST [baseline] (13.953 ms) : 0, 13953
IAST [candidate] (14.016 ms) : 0, 14016
section profiling
BytebuddyAgent [baseline] (622.704 ms) : 0, 622704
BytebuddyAgent [candidate] (622.706 ms) : 0, 622706
GlobalTracer [baseline] (348.694 ms) : 0, 348694
GlobalTracer [candidate] (349.522 ms) : 0, 349522
AppSec [baseline] (49.091 ms) : 0, 49091
AppSec [candidate] (49.325 ms) : 0, 49325
Remote Config [baseline] (643.108 µs) : 0, 643
Remote Config [candidate] (648.803 µs) : 0, 649
Telemetry [baseline] (5.336 ms) : 0, 5336
Telemetry [candidate] (5.372 ms) : 0, 5372
ProfilingAgent [baseline] (74.718 ms) : 0, 74718
ProfilingAgent [candidate] (77.885 ms) : 0, 77885
Profiling [baseline] (74.742 ms) : 0, 74742
Profiling [candidate] (77.91 ms) : 0, 77910
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 24 cases. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~60353d311f, baseline=1.20.0-SNAPSHOT~bef97ad186
dateFormat X
axisFormat %s
section baseline
no_agent (366.013 µs) : 345, 387
. : milestone, 366,
appsec (659.714 µs) : 638, 681
. : milestone, 660,
iast (453.38 µs) : 432, 475
. : milestone, 453,
iast_FULL (521.813 µs) : 501, 543
. : milestone, 522,
iast_INACTIVE (424.946 µs) : 404, 446
. : milestone, 425,
profiling (429.238 µs) : 408, 450
. : milestone, 429,
tracing (430.251 µs) : 409, 451
. : milestone, 430,
section candidate
no_agent (360.725 µs) : 340, 381
. : milestone, 361,
appsec (654.986 µs) : 635, 675
. : milestone, 655,
iast (451.025 µs) : 430, 472
. : milestone, 451,
iast_FULL (518.453 µs) : 498, 539
. : milestone, 518,
iast_INACTIVE (433.425 µs) : 413, 454
. : milestone, 433,
profiling (430.425 µs) : 410, 451
. : milestone, 430,
tracing (426.258 µs) : 406, 447
. : milestone, 426,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~60353d311f, baseline=1.20.0-SNAPSHOT~bef97ad186
dateFormat X
axisFormat %s
section baseline
no_agent (1.329 ms) : 1310, 1349
. : milestone, 1329,
appsec (1.645 ms) : 1620, 1669
. : milestone, 1645,
iast (1.465 ms) : 1441, 1489
. : milestone, 1465,
profiling (1.46 ms) : 1435, 1484
. : milestone, 1460,
tracing (1.456 ms) : 1432, 1480
. : milestone, 1456,
section candidate
no_agent (1.319 ms) : 1301, 1338
. : milestone, 1319,
appsec (1.658 ms) : 1634, 1683
. : milestone, 1658,
iast (1.445 ms) : 1421, 1469
. : milestone, 1445,
profiling (1.482 ms) : 1455, 1508
. : milestone, 1482,
tracing (1.423 ms) : 1399, 1447
. : milestone, 1423,
|
smola
approved these changes
Aug 14, 2023
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
Adds concrete types for the response instrumentation methods
Motivation
Instrumentation errors lead to logged exceptions in Undertow and Jetty.
Additional Notes