-
Notifications
You must be signed in to change notification settings - Fork 278
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
Support field-injection of record classes #7308
Support field-injection of record classes #7308
Conversation
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.
thank you
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 54 metrics, 9 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.074 s) : 0, 1073624
Total [baseline] (8.517 s) : 0, 8517158
Agent [candidate] (1.069 s) : 0, 1068914
Total [candidate] (8.536 s) : 0, 8535632
section iast
Agent [baseline] (1.168 s) : 0, 1167833
Total [baseline] (8.96 s) : 0, 8959659
Agent [candidate] (1.171 s) : 0, 1170727
Total [candidate] (8.969 s) : 0, 8969124
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.171 s) : 0, 1170647
Total [baseline] (8.936 s) : 0, 8935688
Agent [candidate] (1.171 s) : 0, 1171209
Total [candidate] (8.922 s) : 0, 8922226
section iast_TELEMETRY_OFF
Agent [baseline] (1.177 s) : 0, 1176772
Total [baseline] (8.961 s) : 0, 8960840
Agent [candidate] (1.167 s) : 0, 1166508
Total [candidate] (8.925 s) : 0, 8925034
gantt
title insecure-bank - break down per module: candidate=1.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (673.229 ms) : 0, 673229
BytebuddyAgent [candidate] (668.802 ms) : 0, 668802
GlobalTracer [baseline] (306.863 ms) : 0, 306863
GlobalTracer [candidate] (306.808 ms) : 0, 306808
AppSec [baseline] (50.278 ms) : 0, 50278
AppSec [candidate] (50.226 ms) : 0, 50226
Remote Config [baseline] (678.289 µs) : 0, 678
Remote Config [candidate] (688.788 µs) : 0, 689
Telemetry [baseline] (7.709 ms) : 0, 7709
Telemetry [candidate] (7.705 ms) : 0, 7705
section iast
BytebuddyAgent [baseline] (778.192 ms) : 0, 778192
BytebuddyAgent [candidate] (779.115 ms) : 0, 779115
GlobalTracer [baseline] (294.673 ms) : 0, 294673
GlobalTracer [candidate] (295.448 ms) : 0, 295448
AppSec [baseline] (47.989 ms) : 0, 47989
AppSec [candidate] (49.555 ms) : 0, 49555
IAST [baseline] (25.143 ms) : 0, 25143
IAST [candidate] (25.481 ms) : 0, 25481
Remote Config [baseline] (588.772 µs) : 0, 589
Remote Config [candidate] (582.257 µs) : 0, 582
Telemetry [baseline] (7.79 ms) : 0, 7790
Telemetry [candidate] (7.053 ms) : 0, 7053
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (778.715 ms) : 0, 778715
BytebuddyAgent [candidate] (779.006 ms) : 0, 779006
GlobalTracer [baseline] (295.14 ms) : 0, 295140
GlobalTracer [candidate] (295.427 ms) : 0, 295427
AppSec [baseline] (47.022 ms) : 0, 47022
AppSec [candidate] (47.075 ms) : 0, 47075
IAST [baseline] (28.75 ms) : 0, 28750
IAST [candidate] (28.687 ms) : 0, 28687
Remote Config [baseline] (571.144 µs) : 0, 571
Remote Config [candidate] (555.903 µs) : 0, 556
Telemetry [baseline] (6.939 ms) : 0, 6939
Telemetry [candidate] (6.9 ms) : 0, 6900
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (783.157 ms) : 0, 783157
BytebuddyAgent [candidate] (775.221 ms) : 0, 775221
GlobalTracer [baseline] (296.814 ms) : 0, 296814
GlobalTracer [candidate] (295.281 ms) : 0, 295281
AppSec [baseline] (47.375 ms) : 0, 47375
AppSec [candidate] (46.998 ms) : 0, 46998
IAST [baseline] (27.614 ms) : 0, 27614
IAST [candidate] (28.206 ms) : 0, 28206
Remote Config [baseline] (579.558 µs) : 0, 580
Remote Config [candidate] (556.191 µs) : 0, 556
Telemetry [baseline] (7.613 ms) : 0, 7613
Telemetry [candidate] (6.746 ms) : 0, 6746
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.071 s) : 0, 1071215
Total [baseline] (10.385 s) : 0, 10385478
Agent [candidate] (1.063 s) : 0, 1062932
Total [candidate] (10.343 s) : 0, 10343141
section appsec
Agent [baseline] (1.185 s) : 0, 1185038
Total [baseline] (10.545 s) : 0, 10544814
Agent [candidate] (1.186 s) : 0, 1185996
Total [candidate] (10.536 s) : 0, 10535513
section iast
Agent [baseline] (1.179 s) : 0, 1179223
Total [baseline] (10.755 s) : 0, 10755088
Agent [candidate] (1.188 s) : 0, 1188241
Total [candidate] (10.787 s) : 0, 10786859
section profiling
Agent [baseline] (1.264 s) : 0, 1263840
Total [baseline] (10.613 s) : 0, 10612644
Agent [candidate] (1.279 s) : 0, 1279401
Total [candidate] (10.585 s) : 0, 10584560
gantt
title petclinic - break down per module: candidate=1.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (670.407 ms) : 0, 670407
BytebuddyAgent [candidate] (665.593 ms) : 0, 665593
GlobalTracer [baseline] (307.283 ms) : 0, 307283
GlobalTracer [candidate] (304.632 ms) : 0, 304632
AppSec [baseline] (50.349 ms) : 0, 50349
AppSec [candidate] (49.761 ms) : 0, 49761
Remote Config [baseline] (680.683 µs) : 0, 681
Remote Config [candidate] (668.112 µs) : 0, 668
Telemetry [baseline] (7.685 ms) : 0, 7685
Telemetry [candidate] (7.705 ms) : 0, 7705
section appsec
BytebuddyAgent [baseline] (677.769 ms) : 0, 677769
BytebuddyAgent [candidate] (677.991 ms) : 0, 677991
GlobalTracer [baseline] (299.447 ms) : 0, 299447
GlobalTracer [candidate] (299.794 ms) : 0, 299794
AppSec [baseline] (154.005 ms) : 0, 154005
AppSec [candidate] (154.078 ms) : 0, 154078
IAST [baseline] (19.083 ms) : 0, 19083
IAST [candidate] (20.842 ms) : 0, 20842
Remote Config [baseline] (624.008 µs) : 0, 624
Remote Config [candidate] (626.275 µs) : 0, 626
Telemetry [baseline] (8.883 ms) : 0, 8883
Telemetry [candidate] (8.323 ms) : 0, 8323
section iast
BytebuddyAgent [baseline] (784.708 ms) : 0, 784708
BytebuddyAgent [candidate] (791.324 ms) : 0, 791324
GlobalTracer [baseline] (297.413 ms) : 0, 297413
GlobalTracer [candidate] (299.973 ms) : 0, 299973
AppSec [baseline] (47.415 ms) : 0, 47415
AppSec [candidate] (47.919 ms) : 0, 47919
IAST [baseline] (27.697 ms) : 0, 27697
IAST [candidate] (26.786 ms) : 0, 26786
Remote Config [baseline] (575.089 µs) : 0, 575
Remote Config [candidate] (586.924 µs) : 0, 587
Telemetry [baseline] (7.787 ms) : 0, 7787
Telemetry [candidate] (7.918 ms) : 0, 7918
section profiling
BytebuddyAgent [baseline] (661.929 ms) : 0, 661929
BytebuddyAgent [candidate] (671.268 ms) : 0, 671268
GlobalTracer [baseline] (389.408 ms) : 0, 389408
GlobalTracer [candidate] (392.682 ms) : 0, 392682
AppSec [baseline] (51.647 ms) : 0, 51647
AppSec [candidate] (52.367 ms) : 0, 52367
Remote Config [baseline] (647.082 µs) : 0, 647
Remote Config [candidate] (656.467 µs) : 0, 656
Telemetry [baseline] (7.312 ms) : 0, 7312
Telemetry [candidate] (7.454 ms) : 0, 7454
ProfilingAgent [baseline] (95.783 ms) : 0, 95783
ProfilingAgent [candidate] (97.144 ms) : 0, 97144
Profiling [baseline] (95.808 ms) : 0, 95808
Profiling [candidate] (97.169 ms) : 0, 97169
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section baseline
no_agent (1.338 ms) : 1319, 1358
. : milestone, 1338,
appsec (1.724 ms) : 1701, 1747
. : milestone, 1724,
appsec_no_iast (1.698 ms) : 1674, 1723
. : milestone, 1698,
iast (1.49 ms) : 1467, 1514
. : milestone, 1490,
profiling (1.486 ms) : 1461, 1510
. : milestone, 1486,
tracing (1.45 ms) : 1426, 1475
. : milestone, 1450,
section candidate
no_agent (1.345 ms) : 1326, 1364
. : milestone, 1345,
appsec (1.711 ms) : 1688, 1735
. : milestone, 1711,
appsec_no_iast (1.7 ms) : 1675, 1725
. : milestone, 1700,
iast (1.477 ms) : 1454, 1500
. : milestone, 1477,
profiling (1.483 ms) : 1458, 1507
. : milestone, 1483,
tracing (1.46 ms) : 1435, 1485
. : milestone, 1460,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section baseline
no_agent (366.279 µs) : 347, 386
. : milestone, 366,
iast (475.629 µs) : 455, 497
. : milestone, 476,
iast_FULL (550.852 µs) : 530, 572
. : milestone, 551,
iast_GLOBAL (508.694 µs) : 487, 530
. : milestone, 509,
iast_HARDCODED_SECRET_DISABLED (480.963 µs) : 460, 502
. : milestone, 481,
iast_INACTIVE (449.815 µs) : 429, 471
. : milestone, 450,
iast_TELEMETRY_OFF (467.043 µs) : 446, 488
. : milestone, 467,
tracing (434.604 µs) : 414, 455
. : milestone, 435,
section candidate
no_agent (363.94 µs) : 344, 384
. : milestone, 364,
iast (478.105 µs) : 457, 499
. : milestone, 478,
iast_FULL (545.522 µs) : 525, 566
. : milestone, 546,
iast_GLOBAL (509.152 µs) : 487, 531
. : milestone, 509,
iast_HARDCODED_SECRET_DISABLED (484.53 µs) : 463, 506
. : milestone, 485,
iast_INACTIVE (449.258 µs) : 429, 470
. : milestone, 449,
iast_TELEMETRY_OFF (469.558 µs) : 448, 491
. : milestone, 470,
tracing (438.247 µs) : 418, 459
. : milestone, 438,
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.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section baseline
no_agent (15.73 s) : 15730000, 15730000
. : milestone, 15730000,
appsec (15.133 s) : 15133000, 15133000
. : milestone, 15133000,
iast (18.751 s) : 18751000, 18751000
. : milestone, 18751000,
iast_GLOBAL (17.75 s) : 17750000, 17750000
. : milestone, 17750000,
profiling (15.314 s) : 15314000, 15314000
. : milestone, 15314000,
tracing (14.995 s) : 14995000, 14995000
. : milestone, 14995000,
section candidate
no_agent (15.483 s) : 15483000, 15483000
. : milestone, 15483000,
appsec (14.851 s) : 14851000, 14851000
. : milestone, 14851000,
iast (18.5 s) : 18500000, 18500000
. : milestone, 18500000,
iast_GLOBAL (17.692 s) : 17692000, 17692000
. : milestone, 17692000,
profiling (14.785 s) : 14785000, 14785000
. : milestone, 14785000,
tracing (15.036 s) : 15036000, 15036000
. : milestone, 15036000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.38.0-SNAPSHOT~0bb84bc7c1, baseline=1.38.0-SNAPSHOT~8b00e3e102
dateFormat X
axisFormat %s
section baseline
no_agent (1.473 ms) : 1461, 1485
. : milestone, 1473,
appsec (2.236 ms) : 2202, 2271
. : milestone, 2236,
iast (1.965 ms) : 1924, 2007
. : milestone, 1965,
iast_GLOBAL (2.015 ms) : 1972, 2059
. : milestone, 2015,
profiling (1.863 ms) : 1830, 1897
. : milestone, 1863,
tracing (1.849 ms) : 1817, 1882
. : milestone, 1849,
section candidate
no_agent (1.459 ms) : 1448, 1471
. : milestone, 1459,
appsec (2.214 ms) : 2180, 2249
. : milestone, 2214,
iast (1.97 ms) : 1928, 2012
. : milestone, 1970,
iast_GLOBAL (2.008 ms) : 1966, 2050
. : milestone, 2008,
profiling (1.865 ms) : 1830, 1899
. : milestone, 1865,
tracing (1.837 ms) : 1805, 1869
. : milestone, 1837,
|
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.
Dumb question: what's preventing us to migrate all ASM version to 9?
Use of the Previously we've kept the API version at the level that we use/need - we could bump everything to the latest API level and it shouldn't make much difference, but for this specific PR I wanted to just do a small increment. But you could create a PR to introduce a new shared constant representing the embedded API version (currently 9) and use that everywhere... |
That was one of my thoughts as we end up using different values across the code base. Thanks for the details! 👍 |
No description provided.