-
Notifications
You must be signed in to change notification settings - Fork 292
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 Optional(Int|Double|Long) #7581
Conversation
We added special field access for Optional but forgot about specialized version for primitives: Int, Double and Long
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 5 performance regressions! Performance is the same for 3 metrics, 7 unstable metrics.
See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (297.165 µs) : 255, 339
. : milestone, 297,
basic (296.157 µs) : 287, 305
. : milestone, 296,
loop (10.28 ms) : 10243, 10316
. : milestone, 10280,
section candidate
noprobe (303.331 µs) : 256, 351
. : milestone, 303,
basic (298.819 µs) : 289, 309
. : milestone, 299,
loop (10.581 ms) : 10479, 10683
. : milestone, 10581,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 51 metrics, 12 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~c4dfa36730
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.053 s) : 0, 1053145
Total [baseline] (8.525 s) : 0, 8524815
Agent [candidate] (1.05 s) : 0, 1049968
Total [candidate] (8.502 s) : 0, 8501934
section iast
Agent [baseline] (1.176 s) : 0, 1176420
Total [baseline] (8.978 s) : 0, 8978232
Agent [candidate] (1.177 s) : 0, 1176817
Total [candidate] (8.988 s) : 0, 8988327
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.175 s) : 0, 1174837
Total [baseline] (8.955 s) : 0, 8954716
Agent [candidate] (1.176 s) : 0, 1175508
Total [candidate] (9.011 s) : 0, 9010785
section iast_TELEMETRY_OFF
Agent [baseline] (1.173 s) : 0, 1173094
Total [baseline] (8.963 s) : 0, 8962748
Agent [candidate] (1.172 s) : 0, 1172495
Total [candidate] (8.951 s) : 0, 8951216
gantt
title insecure-bank - break down per module: candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~c4dfa36730
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (672.254 ms) : 0, 672254
BytebuddyAgent [candidate] (670.305 ms) : 0, 670305
GlobalTracer [baseline] (307.793 ms) : 0, 307793
GlobalTracer [candidate] (306.948 ms) : 0, 306948
AppSec [baseline] (51.369 ms) : 0, 51369
AppSec [candidate] (51.048 ms) : 0, 51048
Remote Config [baseline] (686.369 µs) : 0, 686
Remote Config [candidate] (684.757 µs) : 0, 685
Telemetry [baseline] (7.447 ms) : 0, 7447
Telemetry [candidate] (7.422 ms) : 0, 7422
section iast
BytebuddyAgent [baseline] (783.112 ms) : 0, 783112
BytebuddyAgent [candidate] (782.394 ms) : 0, 782394
GlobalTracer [baseline] (296.354 ms) : 0, 296354
GlobalTracer [candidate] (296.437 ms) : 0, 296437
AppSec [baseline] (54.584 ms) : 0, 54584
AppSec [candidate] (53.858 ms) : 0, 53858
IAST [baseline] (20.884 ms) : 0, 20884
IAST [candidate] (22.554 ms) : 0, 22554
Remote Config [baseline] (586.792 µs) : 0, 587
Remote Config [candidate] (593.265 µs) : 0, 593
Telemetry [baseline] (7.301 ms) : 0, 7301
Telemetry [candidate] (7.344 ms) : 0, 7344
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (781.189 ms) : 0, 781189
BytebuddyAgent [candidate] (781.397 ms) : 0, 781397
GlobalTracer [baseline] (296.152 ms) : 0, 296152
GlobalTracer [candidate] (296.244 ms) : 0, 296244
AppSec [baseline] (50.838 ms) : 0, 50838
AppSec [candidate] (52.6 ms) : 0, 52600
IAST [baseline] (24.359 ms) : 0, 24359
IAST [candidate] (21.297 ms) : 0, 21297
Remote Config [baseline] (598.835 µs) : 0, 599
Remote Config [candidate] (611.909 µs) : 0, 612
Telemetry [baseline] (8.072 ms) : 0, 8072
Telemetry [candidate] (9.713 ms) : 0, 9713
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (779.831 ms) : 0, 779831
BytebuddyAgent [candidate] (779.118 ms) : 0, 779118
GlobalTracer [baseline] (296.728 ms) : 0, 296728
GlobalTracer [candidate] (296.045 ms) : 0, 296045
AppSec [baseline] (53.668 ms) : 0, 53668
AppSec [candidate] (52.56 ms) : 0, 52560
IAST [baseline] (20.695 ms) : 0, 20695
IAST [candidate] (23.292 ms) : 0, 23292
Remote Config [baseline] (577.341 µs) : 0, 577
Remote Config [candidate] (598.096 µs) : 0, 598
Telemetry [baseline] (7.97 ms) : 0, 7970
Telemetry [candidate] (7.235 ms) : 0, 7235
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~c4dfa36730
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1052177
Total [baseline] (10.471 s) : 0, 10471424
Agent [candidate] (1.066 s) : 0, 1066302
Total [candidate] (10.415 s) : 0, 10414927
section appsec
Agent [baseline] (1.18 s) : 0, 1180028
Total [baseline] (10.579 s) : 0, 10578888
Agent [candidate] (1.183 s) : 0, 1183413
Total [candidate] (10.603 s) : 0, 10603348
section iast
Agent [baseline] (1.176 s) : 0, 1176222
Total [baseline] (10.856 s) : 0, 10855727
Agent [candidate] (1.176 s) : 0, 1175915
Total [candidate] (10.851 s) : 0, 10851298
section profiling
Agent [baseline] (1.257 s) : 0, 1256589
Total [baseline] (10.596 s) : 0, 10595812
Agent [candidate] (1.248 s) : 0, 1247602
Total [candidate] (10.61 s) : 0, 10610179
gantt
title petclinic - break down per module: candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~c4dfa36730
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (671.526 ms) : 0, 671526
BytebuddyAgent [candidate] (680.631 ms) : 0, 680631
GlobalTracer [baseline] (307.377 ms) : 0, 307377
GlobalTracer [candidate] (311.606 ms) : 0, 311606
AppSec [baseline] (51.509 ms) : 0, 51509
AppSec [candidate] (52.013 ms) : 0, 52013
Remote Config [baseline] (684.766 µs) : 0, 685
Remote Config [candidate] (691.041 µs) : 0, 691
Telemetry [baseline] (7.473 ms) : 0, 7473
Telemetry [candidate] (7.589 ms) : 0, 7589
section appsec
BytebuddyAgent [baseline] (688.784 ms) : 0, 688784
BytebuddyAgent [candidate] (690.498 ms) : 0, 690498
GlobalTracer [baseline] (299.629 ms) : 0, 299629
GlobalTracer [candidate] (300.619 ms) : 0, 300619
AppSec [baseline] (157.62 ms) : 0, 157620
AppSec [candidate] (160.288 ms) : 0, 160288
Remote Config [baseline] (625.445 µs) : 0, 625
Remote Config [candidate] (622.357 µs) : 0, 622
Telemetry [baseline] (8.878 ms) : 0, 8878
Telemetry [candidate] (7.536 ms) : 0, 7536
IAST [baseline] (21.947 ms) : 0, 21947
IAST [candidate] (20.523 ms) : 0, 20523
section iast
BytebuddyAgent [baseline] (782.622 ms) : 0, 782622
BytebuddyAgent [candidate] (782.664 ms) : 0, 782664
GlobalTracer [baseline] (296.524 ms) : 0, 296524
GlobalTracer [candidate] (296.794 ms) : 0, 296794
AppSec [baseline] (53.71 ms) : 0, 53710
AppSec [candidate] (52.953 ms) : 0, 52953
Remote Config [baseline] (582.961 µs) : 0, 583
Remote Config [candidate] (597.221 µs) : 0, 597
Telemetry [baseline] (7.326 ms) : 0, 7326
Telemetry [candidate] (7.351 ms) : 0, 7351
IAST [baseline] (21.868 ms) : 0, 21868
IAST [candidate] (21.948 ms) : 0, 21948
section profiling
BytebuddyAgent [baseline] (669.557 ms) : 0, 669557
BytebuddyAgent [candidate] (664.841 ms) : 0, 664841
GlobalTracer [baseline] (390.993 ms) : 0, 390993
GlobalTracer [candidate] (389.165 ms) : 0, 389165
AppSec [baseline] (52.629 ms) : 0, 52629
AppSec [candidate] (51.961 ms) : 0, 51961
Remote Config [baseline] (704.366 µs) : 0, 704
Remote Config [candidate] (679.831 µs) : 0, 680
Telemetry [baseline] (7.455 ms) : 0, 7455
Telemetry [candidate] (7.369 ms) : 0, 7369
ProfilingAgent [baseline] (97.203 ms) : 0, 97203
ProfilingAgent [candidate] (95.765 ms) : 0, 95765
Profiling [baseline] (97.227 ms) : 0, 97227
Profiling [candidate] (95.788 ms) : 0, 95788
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 20 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~c4dfa36730
dateFormat X
axisFormat %s
section baseline
no_agent (1.343 ms) : 1324, 1362
. : milestone, 1343,
appsec (1.716 ms) : 1692, 1741
. : milestone, 1716,
appsec_no_iast (1.724 ms) : 1700, 1748
. : milestone, 1724,
iast (1.461 ms) : 1438, 1484
. : milestone, 1461,
profiling (1.484 ms) : 1460, 1508
. : milestone, 1484,
tracing (1.462 ms) : 1438, 1485
. : milestone, 1462,
section candidate
no_agent (1.341 ms) : 1322, 1360
. : milestone, 1341,
appsec (1.717 ms) : 1693, 1740
. : milestone, 1717,
appsec_no_iast (1.698 ms) : 1673, 1724
. : milestone, 1698,
iast (1.456 ms) : 1434, 1479
. : milestone, 1456,
profiling (1.486 ms) : 1463, 1509
. : milestone, 1486,
tracing (1.455 ms) : 1430, 1480
. : milestone, 1455,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~c4dfa36730
dateFormat X
axisFormat %s
section baseline
no_agent (360.843 µs) : 341, 381
. : milestone, 361,
iast (477.335 µs) : 455, 500
. : milestone, 477,
iast_FULL (547.253 µs) : 526, 569
. : milestone, 547,
iast_GLOBAL (496.114 µs) : 475, 517
. : milestone, 496,
iast_HARDCODED_SECRET_DISABLED (470.14 µs) : 448, 492
. : milestone, 470,
iast_INACTIVE (433.741 µs) : 413, 454
. : milestone, 434,
iast_TELEMETRY_OFF (463.792 µs) : 442, 486
. : milestone, 464,
tracing (432.616 µs) : 412, 453
. : milestone, 433,
section candidate
no_agent (358.459 µs) : 339, 378
. : milestone, 358,
iast (481.734 µs) : 459, 504
. : milestone, 482,
iast_FULL (543.871 µs) : 523, 565
. : milestone, 544,
iast_GLOBAL (496.38 µs) : 475, 518
. : milestone, 496,
iast_HARDCODED_SECRET_DISABLED (474.175 µs) : 452, 496
. : milestone, 474,
iast_INACTIVE (435.29 µs) : 414, 456
. : milestone, 435,
iast_TELEMETRY_OFF (472.908 µs) : 450, 496
. : milestone, 473,
tracing (439.835 µs) : 419, 460
. : milestone, 440,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~5ddb19db3a
dateFormat X
axisFormat %s
section baseline
no_agent (1.456 ms) : 1445, 1468
. : milestone, 1456,
appsec (2.226 ms) : 2190, 2261
. : milestone, 2226,
iast (1.972 ms) : 1928, 2016
. : milestone, 1972,
iast_GLOBAL (2.01 ms) : 1966, 2054
. : milestone, 2010,
profiling (1.861 ms) : 1826, 1895
. : milestone, 1861,
tracing (1.842 ms) : 1809, 1875
. : milestone, 1842,
section candidate
no_agent (1.453 ms) : 1442, 1464
. : milestone, 1453,
appsec (2.227 ms) : 2191, 2263
. : milestone, 2227,
iast (1.982 ms) : 1938, 2026
. : milestone, 1982,
iast_GLOBAL (2.023 ms) : 1978, 2067
. : milestone, 2023,
profiling (1.868 ms) : 1831, 1904
. : milestone, 1868,
tracing (1.842 ms) : 1808, 1875
. : milestone, 1842,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.40.0-SNAPSHOT~1891175ec9, baseline=1.40.0-SNAPSHOT~5ddb19db3a
dateFormat X
axisFormat %s
section baseline
no_agent (15.033 s) : 15033000, 15033000
. : milestone, 15033000,
appsec (15.216 s) : 15216000, 15216000
. : milestone, 15216000,
iast (18.949 s) : 18949000, 18949000
. : milestone, 18949000,
iast_GLOBAL (17.826 s) : 17826000, 17826000
. : milestone, 17826000,
profiling (15.215 s) : 15215000, 15215000
. : milestone, 15215000,
tracing (15.144 s) : 15144000, 15144000
. : milestone, 15144000,
section candidate
no_agent (15.026 s) : 15026000, 15026000
. : milestone, 15026000,
appsec (15.264 s) : 15264000, 15264000
. : milestone, 15264000,
iast (18.735 s) : 18735000, 18735000
. : milestone, 18735000,
iast_GLOBAL (17.799 s) : 17799000, 17799000
. : milestone, 17799000,
profiling (15.339 s) : 15339000, 15339000
. : milestone, 15339000,
tracing (14.958 s) : 14958000, 14958000
. : milestone, 14958000,
|
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.
nice.
What about OptionalFloat/Byte/Char/Boolean?
Maybe there are more primitives we need to support or we can generate a generic solution for all of those...
no only those, because for other primitives they are widen into |
What Does This Do
We added special field access for Optional but forgot about specialized version for primitives: Int, Double and Long
Motivation
Additional Notes
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: DEBUG-2777