-
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
Cache entry span code origin information to avoid unnecessary repeated stack walks. #8029
Conversation
…rate entry span information cache that information and reuse it on commit()
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
Debugger benchmarksParameters
See matching parameters
SummaryFound 5 performance improvements and 0 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 (313.784 µs) : 273, 355
. : milestone, 314,
basic (306.568 µs) : 298, 315
. : milestone, 307,
loop (11.006 ms) : 10954, 11057
. : milestone, 11006,
section candidate
noprobe (313.47 µs) : 272, 355
. : milestone, 313,
basic (305.332 µs) : 295, 316
. : milestone, 305,
loop (10.366 ms) : 10337, 10395
. : milestone, 10366,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 57 metrics, 6 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.092 s) : 0, 1092134
Total [baseline] (10.425 s) : 0, 10425398
Agent [candidate] (1.092 s) : 0, 1092418
Total [candidate] (10.396 s) : 0, 10395860
section appsec
Agent [baseline] (1.236 s) : 0, 1235788
Total [baseline] (10.777 s) : 0, 10777198
Agent [candidate] (1.225 s) : 0, 1225132
Total [candidate] (10.715 s) : 0, 10715422
section iast
Agent [baseline] (1.219 s) : 0, 1218924
Total [baseline] (10.976 s) : 0, 10976426
Agent [candidate] (1.218 s) : 0, 1218192
Total [candidate] (10.954 s) : 0, 10954031
section profiling
Agent [baseline] (1.317 s) : 0, 1317495
Total [baseline] (10.795 s) : 0, 10794711
Agent [candidate] (1.319 s) : 0, 1319254
Total [candidate] (10.855 s) : 0, 10854777
gantt
title petclinic - break down per module: candidate=1.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (694.246 ms) : 0, 694246
BytebuddyAgent [candidate] (695.434 ms) : 0, 695434
GlobalTracer [baseline] (317.005 ms) : 0, 317005
GlobalTracer [candidate] (317.846 ms) : 0, 317846
AppSec [baseline] (54.624 ms) : 0, 54624
AppSec [candidate] (54.841 ms) : 0, 54841
Remote Config [baseline] (673.499 µs) : 0, 673
Remote Config [candidate] (694.457 µs) : 0, 694
Telemetry [baseline] (11.898 ms) : 0, 11898
Telemetry [candidate] (9.882 ms) : 0, 9882
section appsec
BytebuddyAgent [baseline] (718.506 ms) : 0, 718506
BytebuddyAgent [candidate] (711.033 ms) : 0, 711033
GlobalTracer [baseline] (316.454 ms) : 0, 316454
GlobalTracer [candidate] (314.39 ms) : 0, 314390
AppSec [baseline] (167.457 ms) : 0, 167457
AppSec [candidate] (168.141 ms) : 0, 168141
IAST [baseline] (19.33 ms) : 0, 19330
IAST [candidate] (18.975 ms) : 0, 18975
Remote Config [baseline] (661.466 µs) : 0, 661
Remote Config [candidate] (639.212 µs) : 0, 639
Telemetry [baseline] (9.245 ms) : 0, 9245
Telemetry [candidate] (7.756 ms) : 0, 7756
section iast
BytebuddyAgent [baseline] (812.398 ms) : 0, 812398
BytebuddyAgent [candidate] (811.654 ms) : 0, 811654
GlobalTracer [baseline] (306.075 ms) : 0, 306075
GlobalTracer [candidate] (305.875 ms) : 0, 305875
AppSec [baseline] (57.736 ms) : 0, 57736
AppSec [candidate] (56.335 ms) : 0, 56335
IAST [baseline] (20.907 ms) : 0, 20907
IAST [candidate] (22.494 ms) : 0, 22494
Remote Config [baseline] (616.185 µs) : 0, 616
Remote Config [candidate] (623.16 µs) : 0, 623
Telemetry [baseline] (7.479 ms) : 0, 7479
Telemetry [candidate] (7.499 ms) : 0, 7499
section profiling
BytebuddyAgent [baseline] (689.467 ms) : 0, 689467
BytebuddyAgent [candidate] (689.083 ms) : 0, 689083
GlobalTracer [baseline] (434.095 ms) : 0, 434095
GlobalTracer [candidate] (434.346 ms) : 0, 434346
AppSec [baseline] (53.593 ms) : 0, 53593
AppSec [candidate] (54.152 ms) : 0, 54152
Remote Config [baseline] (658.714 µs) : 0, 659
Remote Config [candidate] (659.855 µs) : 0, 660
Telemetry [baseline] (7.694 ms) : 0, 7694
Telemetry [candidate] (7.683 ms) : 0, 7683
ProfilingAgent [baseline] (92.917 ms) : 0, 92917
ProfilingAgent [candidate] (94.2 ms) : 0, 94200
Profiling [baseline] (92.942 ms) : 0, 92942
Profiling [candidate] (94.224 ms) : 0, 94224
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.092 s) : 0, 1092470
Total [baseline] (8.663 s) : 0, 8662620
Agent [candidate] (1.097 s) : 0, 1097323
Total [candidate] (8.676 s) : 0, 8676047
section iast
Agent [baseline] (1.227 s) : 0, 1227299
Total [baseline] (9.229 s) : 0, 9229350
Agent [candidate] (1.216 s) : 0, 1216088
Total [candidate] (9.215 s) : 0, 9214544
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.218 s) : 0, 1217516
Total [baseline] (9.129 s) : 0, 9129422
Agent [candidate] (1.218 s) : 0, 1218228
Total [candidate] (9.166 s) : 0, 9165834
section iast_TELEMETRY_OFF
Agent [baseline] (1.23 s) : 0, 1230304
Total [baseline] (9.235 s) : 0, 9234607
Agent [candidate] (1.217 s) : 0, 1217021
Total [candidate] (9.194 s) : 0, 9193728
gantt
title insecure-bank - break down per module: candidate=1.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (694.933 ms) : 0, 694933
BytebuddyAgent [candidate] (699.389 ms) : 0, 699389
GlobalTracer [baseline] (317.745 ms) : 0, 317745
GlobalTracer [candidate] (320.065 ms) : 0, 320065
AppSec [baseline] (54.858 ms) : 0, 54858
AppSec [candidate] (54.79 ms) : 0, 54790
Remote Config [baseline] (685.173 µs) : 0, 685
Remote Config [candidate] (689.664 µs) : 0, 690
Telemetry [baseline] (10.544 ms) : 0, 10544
Telemetry [candidate] (8.519 ms) : 0, 8519
section iast
BytebuddyAgent [baseline] (818.215 ms) : 0, 818215
BytebuddyAgent [candidate] (810.145 ms) : 0, 810145
GlobalTracer [baseline] (307.77 ms) : 0, 307770
GlobalTracer [candidate] (305.323 ms) : 0, 305323
AppSec [baseline] (58.277 ms) : 0, 58277
AppSec [candidate] (58.068 ms) : 0, 58068
IAST [baseline] (21.053 ms) : 0, 21053
IAST [candidate] (20.758 ms) : 0, 20758
Remote Config [baseline] (628.756 µs) : 0, 629
Remote Config [candidate] (617.294 µs) : 0, 617
Telemetry [baseline] (7.557 ms) : 0, 7557
Telemetry [candidate] (7.432 ms) : 0, 7432
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (811.725 ms) : 0, 811725
BytebuddyAgent [candidate] (811.193 ms) : 0, 811193
GlobalTracer [baseline] (305.347 ms) : 0, 305347
GlobalTracer [candidate] (306.834 ms) : 0, 306834
AppSec [baseline] (57.919 ms) : 0, 57919
AppSec [candidate] (57.621 ms) : 0, 57621
IAST [baseline] (20.74 ms) : 0, 20740
IAST [candidate] (20.709 ms) : 0, 20709
Remote Config [baseline] (627.608 µs) : 0, 628
Remote Config [candidate] (644.134 µs) : 0, 644
Telemetry [baseline] (7.45 ms) : 0, 7450
Telemetry [candidate] (7.471 ms) : 0, 7471
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (820.892 ms) : 0, 820892
BytebuddyAgent [candidate] (809.758 ms) : 0, 809758
GlobalTracer [baseline] (308.657 ms) : 0, 308657
GlobalTracer [candidate] (306.917 ms) : 0, 306917
AppSec [baseline] (58.328 ms) : 0, 58328
AppSec [candidate] (57.538 ms) : 0, 57538
IAST [baseline] (20.461 ms) : 0, 20461
IAST [candidate] (21.11 ms) : 0, 21110
Remote Config [baseline] (629.391 µs) : 0, 629
Remote Config [candidate] (626.561 µs) : 0, 627
Telemetry [baseline] (7.429 ms) : 0, 7429
Telemetry [candidate] (7.351 ms) : 0, 7351
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 11 metrics, 16 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section baseline
no_agent (1.348 ms) : 1328, 1367
. : milestone, 1348,
appsec (1.782 ms) : 1758, 1807
. : milestone, 1782,
appsec_no_iast (1.754 ms) : 1729, 1779
. : milestone, 1754,
iast (1.493 ms) : 1470, 1516
. : milestone, 1493,
profiling (1.489 ms) : 1466, 1513
. : milestone, 1489,
tracing (1.5 ms) : 1474, 1525
. : milestone, 1500,
section candidate
no_agent (1.357 ms) : 1337, 1377
. : milestone, 1357,
appsec (1.755 ms) : 1730, 1780
. : milestone, 1755,
appsec_no_iast (1.769 ms) : 1743, 1794
. : milestone, 1769,
iast (1.518 ms) : 1494, 1541
. : milestone, 1518,
profiling (1.561 ms) : 1536, 1586
. : milestone, 1561,
tracing (1.481 ms) : 1456, 1506
. : milestone, 1481,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section baseline
no_agent (375.611 µs) : 355, 396
. : milestone, 376,
iast (493.46 µs) : 472, 515
. : milestone, 493,
iast_FULL (656.257 µs) : 635, 678
. : milestone, 656,
iast_GLOBAL (529.256 µs) : 506, 552
. : milestone, 529,
iast_HARDCODED_SECRET_DISABLED (492.521 µs) : 471, 514
. : milestone, 493,
iast_INACTIVE (457.396 µs) : 436, 479
. : milestone, 457,
iast_TELEMETRY_OFF (489.695 µs) : 467, 512
. : milestone, 490,
tracing (457.342 µs) : 436, 479
. : milestone, 457,
section candidate
no_agent (373.673 µs) : 354, 393
. : milestone, 374,
iast (492.938 µs) : 471, 514
. : milestone, 493,
iast_FULL (653.571 µs) : 632, 675
. : milestone, 654,
iast_GLOBAL (514.655 µs) : 493, 536
. : milestone, 515,
iast_HARDCODED_SECRET_DISABLED (490.335 µs) : 469, 512
. : milestone, 490,
iast_INACTIVE (454.678 µs) : 433, 476
. : milestone, 455,
iast_TELEMETRY_OFF (485.777 µs) : 464, 508
. : milestone, 486,
tracing (445.968 µs) : 426, 466
. : milestone, 446,
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.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section baseline
no_agent (15.205 s) : 15205000, 15205000
. : milestone, 15205000,
appsec (14.916 s) : 14916000, 14916000
. : milestone, 14916000,
iast (18.756 s) : 18756000, 18756000
. : milestone, 18756000,
iast_GLOBAL (17.905 s) : 17905000, 17905000
. : milestone, 17905000,
profiling (15.108 s) : 15108000, 15108000
. : milestone, 15108000,
tracing (15.009 s) : 15009000, 15009000
. : milestone, 15009000,
section candidate
no_agent (14.954 s) : 14954000, 14954000
. : milestone, 14954000,
appsec (15.265 s) : 15265000, 15265000
. : milestone, 15265000,
iast (18.881 s) : 18881000, 18881000
. : milestone, 18881000,
iast_GLOBAL (18.009 s) : 18009000, 18009000
. : milestone, 18009000,
profiling (14.946 s) : 14946000, 14946000
. : milestone, 14946000,
tracing (15.097 s) : 15097000, 15097000
. : milestone, 15097000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.44.0-SNAPSHOT~c06ea4f2df, baseline=1.44.0-SNAPSHOT~d7a0014648
dateFormat X
axisFormat %s
section baseline
no_agent (1.477 ms) : 1465, 1488
. : milestone, 1477,
appsec (2.363 ms) : 2322, 2405
. : milestone, 2363,
iast (2.095 ms) : 2042, 2147
. : milestone, 2095,
iast_GLOBAL (2.146 ms) : 2093, 2200
. : milestone, 2146,
profiling (1.985 ms) : 1942, 2028
. : milestone, 1985,
tracing (1.946 ms) : 1906, 1987
. : milestone, 1946,
section candidate
no_agent (1.474 ms) : 1462, 1485
. : milestone, 1474,
appsec (2.36 ms) : 2318, 2401
. : milestone, 2360,
iast (2.094 ms) : 2041, 2147
. : milestone, 2094,
iast_GLOBAL (2.15 ms) : 2096, 2203
. : milestone, 2150,
profiling (1.968 ms) : 1925, 2010
. : milestone, 1968,
tracing (1.946 ms) : 1906, 1987
. : milestone, 1946,
|
What Does This Do
This PR uses the class parsing during instrumentation to extract out more accurate entry span information
caches that information to reuse it on commit()
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-3159