-
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 File and Path as string primitive #7652
Conversation
Since jdk 17 it's not possible to do deep reflection. The content of File or Path instances are difficult to see content with deep reflection, though the meaningful value is the toString representation We are adding File and Path instances serialized as string primitive and evaluated in EL as String as well
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 5 performance regressions! Performance is the same for 4 metrics, 6 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 (295.477 µs) : 274, 317
. : milestone, 295,
basic (302.23 µs) : 295, 310
. : milestone, 302,
loop (10.34 ms) : 10319, 10361
. : milestone, 10340,
section candidate
noprobe (315.896 µs) : 253, 379
. : milestone, 316,
basic (308.804 µs) : 294, 324
. : milestone, 309,
loop (10.965 ms) : 10937, 10992
. : milestone, 10965,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 47 metrics, 16 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.064 s) : 0, 1063819
Total [baseline] (10.365 s) : 0, 10365104
Agent [candidate] (1.068 s) : 0, 1068408
Total [candidate] (10.399 s) : 0, 10398870
section appsec
Agent [baseline] (1.198 s) : 0, 1197987
Total [baseline] (10.608 s) : 0, 10608323
Agent [candidate] (1.207 s) : 0, 1207357
Total [candidate] (10.642 s) : 0, 10641578
section iast
Agent [baseline] (1.191 s) : 0, 1191171
Total [baseline] (10.862 s) : 0, 10862164
Agent [candidate] (1.201 s) : 0, 1200576
Total [candidate] (10.852 s) : 0, 10852340
section profiling
Agent [baseline] (1.266 s) : 0, 1266320
Total [baseline] (10.609 s) : 0, 10609413
Agent [candidate] (1.274 s) : 0, 1273820
Total [candidate] (10.607 s) : 0, 10606979
gantt
title petclinic - break down per module: candidate=1.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (678.23 ms) : 0, 678230
BytebuddyAgent [candidate] (679.494 ms) : 0, 679494
GlobalTracer [baseline] (309.992 ms) : 0, 309992
GlobalTracer [candidate] (312.774 ms) : 0, 312774
AppSec [baseline] (53.736 ms) : 0, 53736
AppSec [candidate] (54.185 ms) : 0, 54185
Remote Config [baseline] (658.136 µs) : 0, 658
Remote Config [candidate] (667.394 µs) : 0, 667
Telemetry [baseline] (7.567 ms) : 0, 7567
Telemetry [candidate] (7.622 ms) : 0, 7622
section appsec
BytebuddyAgent [baseline] (700.012 ms) : 0, 700012
BytebuddyAgent [candidate] (705.675 ms) : 0, 705675
GlobalTracer [baseline] (302.767 ms) : 0, 302767
GlobalTracer [candidate] (305.354 ms) : 0, 305354
AppSec [baseline] (162.408 ms) : 0, 162408
AppSec [candidate] (162.572 ms) : 0, 162572
IAST [baseline] (19.666 ms) : 0, 19666
IAST [candidate] (19.842 ms) : 0, 19842
Remote Config [baseline] (653.668 µs) : 0, 654
Remote Config [candidate] (654.507 µs) : 0, 655
Telemetry [baseline] (8.762 ms) : 0, 8762
Telemetry [candidate] (9.485 ms) : 0, 9485
section iast
BytebuddyAgent [baseline] (791.834 ms) : 0, 791834
BytebuddyAgent [candidate] (798.703 ms) : 0, 798703
GlobalTracer [baseline] (299.281 ms) : 0, 299281
GlobalTracer [candidate] (301.174 ms) : 0, 301174
AppSec [baseline] (54.957 ms) : 0, 54957
AppSec [candidate] (56.17 ms) : 0, 56170
IAST [baseline] (23.485 ms) : 0, 23485
IAST [candidate] (22.774 ms) : 0, 22774
Remote Config [baseline] (629.612 µs) : 0, 630
Remote Config [candidate] (635.206 µs) : 0, 635
Telemetry [baseline] (7.322 ms) : 0, 7322
Telemetry [candidate] (7.394 ms) : 0, 7394
section profiling
BytebuddyAgent [baseline] (675.705 ms) : 0, 675705
BytebuddyAgent [candidate] (677.884 ms) : 0, 677884
GlobalTracer [baseline] (394.161 ms) : 0, 394161
GlobalTracer [candidate] (398.13 ms) : 0, 398130
AppSec [baseline] (54.206 ms) : 0, 54206
AppSec [candidate] (54.718 ms) : 0, 54718
Remote Config [baseline] (672.155 µs) : 0, 672
Remote Config [candidate] (659.094 µs) : 0, 659
Telemetry [baseline] (7.41 ms) : 0, 7410
Telemetry [candidate] (7.46 ms) : 0, 7460
ProfilingAgent [baseline] (95.934 ms) : 0, 95934
ProfilingAgent [candidate] (96.664 ms) : 0, 96664
Profiling [baseline] (95.957 ms) : 0, 95957
Profiling [candidate] (96.688 ms) : 0, 96688
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.072 s) : 0, 1071889
Total [baseline] (8.58 s) : 0, 8580448
Agent [candidate] (1.065 s) : 0, 1064953
Total [candidate] (8.544 s) : 0, 8544435
section iast
Agent [baseline] (1.208 s) : 0, 1207535
Total [baseline] (9.051 s) : 0, 9050716
Agent [candidate] (1.189 s) : 0, 1189381
Total [candidate] (9.006 s) : 0, 9006491
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.189 s) : 0, 1189153
Total [baseline] (8.966 s) : 0, 8966254
Agent [candidate] (1.188 s) : 0, 1187943
Total [candidate] (8.978 s) : 0, 8977665
section iast_TELEMETRY_OFF
Agent [baseline] (1.186 s) : 0, 1186466
Total [baseline] (8.998 s) : 0, 8997865
Agent [candidate] (1.195 s) : 0, 1195433
Total [candidate] (9.002 s) : 0, 9002161
gantt
title insecure-bank - break down per module: candidate=1.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (683.641 ms) : 0, 683641
BytebuddyAgent [candidate] (678.5 ms) : 0, 678500
GlobalTracer [baseline] (312.255 ms) : 0, 312255
GlobalTracer [candidate] (310.544 ms) : 0, 310544
AppSec [baseline] (53.974 ms) : 0, 53974
AppSec [candidate] (54.012 ms) : 0, 54012
Remote Config [baseline] (674.2 µs) : 0, 674
Remote Config [candidate] (670.17 µs) : 0, 670
Telemetry [baseline] (7.627 ms) : 0, 7627
Telemetry [candidate] (7.59 ms) : 0, 7590
section iast
BytebuddyAgent [baseline] (803.251 ms) : 0, 803251
BytebuddyAgent [candidate] (790.697 ms) : 0, 790697
GlobalTracer [baseline] (302.881 ms) : 0, 302881
GlobalTracer [candidate] (298.991 ms) : 0, 298991
AppSec [baseline] (54.864 ms) : 0, 54864
AppSec [candidate] (53.811 ms) : 0, 53811
IAST [baseline] (24.672 ms) : 0, 24672
IAST [candidate] (24.284 ms) : 0, 24284
Remote Config [baseline] (643.527 µs) : 0, 644
Remote Config [candidate] (624.872 µs) : 0, 625
Telemetry [baseline] (7.429 ms) : 0, 7429
Telemetry [candidate] (7.293 ms) : 0, 7293
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (791.264 ms) : 0, 791264
BytebuddyAgent [candidate] (789.413 ms) : 0, 789413
GlobalTracer [baseline] (298.583 ms) : 0, 298583
GlobalTracer [candidate] (299.196 ms) : 0, 299196
AppSec [baseline] (55.954 ms) : 0, 55954
AppSec [candidate] (54.109 ms) : 0, 54109
IAST [baseline] (21.719 ms) : 0, 21719
IAST [candidate] (22.828 ms) : 0, 22828
Remote Config [baseline] (609.454 µs) : 0, 609
Remote Config [candidate] (597.983 µs) : 0, 598
Telemetry [baseline] (7.337 ms) : 0, 7337
Telemetry [candidate] (8.132 ms) : 0, 8132
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (787.575 ms) : 0, 787575
BytebuddyAgent [candidate] (794.191 ms) : 0, 794191
GlobalTracer [baseline] (299.211 ms) : 0, 299211
GlobalTracer [candidate] (301.839 ms) : 0, 301839
AppSec [baseline] (55.869 ms) : 0, 55869
AppSec [candidate] (54.59 ms) : 0, 54590
IAST [baseline] (21.455 ms) : 0, 21455
IAST [candidate] (23.199 ms) : 0, 23199
Remote Config [baseline] (1.428 ms) : 0, 1428
Remote Config [candidate] (609.468 µs) : 0, 609
Telemetry [baseline] (7.259 ms) : 0, 7259
Telemetry [candidate] (7.227 ms) : 0, 7227
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 17 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section baseline
no_agent (1.34 ms) : 1320, 1359
. : milestone, 1340,
appsec (1.709 ms) : 1684, 1734
. : milestone, 1709,
appsec_no_iast (1.757 ms) : 1733, 1781
. : milestone, 1757,
iast (1.493 ms) : 1471, 1515
. : milestone, 1493,
profiling (1.546 ms) : 1521, 1570
. : milestone, 1546,
tracing (1.462 ms) : 1438, 1486
. : milestone, 1462,
section candidate
no_agent (1.349 ms) : 1329, 1368
. : milestone, 1349,
appsec (1.728 ms) : 1705, 1751
. : milestone, 1728,
appsec_no_iast (1.719 ms) : 1695, 1744
. : milestone, 1719,
iast (1.468 ms) : 1445, 1491
. : milestone, 1468,
profiling (1.484 ms) : 1461, 1507
. : milestone, 1484,
tracing (1.455 ms) : 1431, 1480
. : milestone, 1455,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section baseline
no_agent (365.695 µs) : 346, 385
. : milestone, 366,
iast (486.911 µs) : 465, 509
. : milestone, 487,
iast_FULL (556.642 µs) : 535, 578
. : milestone, 557,
iast_GLOBAL (509.76 µs) : 488, 532
. : milestone, 510,
iast_HARDCODED_SECRET_DISABLED (485.548 µs) : 464, 507
. : milestone, 486,
iast_INACTIVE (445.667 µs) : 425, 466
. : milestone, 446,
iast_TELEMETRY_OFF (484.778 µs) : 462, 508
. : milestone, 485,
tracing (447.746 µs) : 427, 469
. : milestone, 448,
section candidate
no_agent (365.643 µs) : 346, 386
. : milestone, 366,
iast (485.303 µs) : 464, 507
. : milestone, 485,
iast_FULL (555.942 µs) : 535, 577
. : milestone, 556,
iast_GLOBAL (521.015 µs) : 498, 544
. : milestone, 521,
iast_HARDCODED_SECRET_DISABLED (485.551 µs) : 464, 507
. : milestone, 486,
iast_INACTIVE (452.111 µs) : 431, 473
. : milestone, 452,
iast_TELEMETRY_OFF (478.19 µs) : 455, 501
. : milestone, 478,
tracing (444.456 µs) : 424, 465
. : milestone, 444,
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.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section baseline
no_agent (15.336 s) : 15336000, 15336000
. : milestone, 15336000,
appsec (15.368 s) : 15368000, 15368000
. : milestone, 15368000,
iast (18.642 s) : 18642000, 18642000
. : milestone, 18642000,
iast_GLOBAL (18.194 s) : 18194000, 18194000
. : milestone, 18194000,
profiling (15.315 s) : 15315000, 15315000
. : milestone, 15315000,
tracing (15.205 s) : 15205000, 15205000
. : milestone, 15205000,
section candidate
no_agent (15.06 s) : 15060000, 15060000
. : milestone, 15060000,
appsec (15.033 s) : 15033000, 15033000
. : milestone, 15033000,
iast (18.79 s) : 18790000, 18790000
. : milestone, 18790000,
iast_GLOBAL (18.08 s) : 18080000, 18080000
. : milestone, 18080000,
profiling (15.384 s) : 15384000, 15384000
. : milestone, 15384000,
tracing (15.111 s) : 15111000, 15111000
. : milestone, 15111000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.40.0-SNAPSHOT~5bf362a964, baseline=1.40.0-SNAPSHOT~92a664b5b9
dateFormat X
axisFormat %s
section baseline
no_agent (1.467 ms) : 1455, 1478
. : milestone, 1467,
appsec (2.31 ms) : 2269, 2350
. : milestone, 2310,
iast (2.038 ms) : 1989, 2086
. : milestone, 2038,
iast_GLOBAL (2.096 ms) : 2045, 2147
. : milestone, 2096,
profiling (1.924 ms) : 1884, 1964
. : milestone, 1924,
tracing (1.904 ms) : 1866, 1943
. : milestone, 1904,
section candidate
no_agent (1.467 ms) : 1455, 1479
. : milestone, 1467,
appsec (2.305 ms) : 2265, 2345
. : milestone, 2305,
iast (2.059 ms) : 2009, 2110
. : milestone, 2059,
iast_GLOBAL (2.115 ms) : 2063, 2168
. : milestone, 2115,
profiling (1.922 ms) : 1882, 1962
. : milestone, 1922,
tracing (1.891 ms) : 1853, 1929
. : milestone, 1891,
|
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
Since jdk 17 it's not possible to do deep reflection. The content of File or Path instances are difficult to see content with deep reflection, though the meaningful value is the toString representation We are adding File and Path instances serialized as string primitive and evaluated in EL as String as well
What Does This Do
Since jdk 17 it's not possible to do deep reflection. The content of File or Path instances are difficult to see content with deep reflection, though the meaningful value is the toString representation We are adding File and Path instances serialized as string primitive and evaluated in EL as String as well
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-2853