Open
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 12 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1057685
Total [baseline] (11.033 s) : 0, 11033092
Agent [candidate] (1.052 s) : 0, 1052350
Total [candidate] (11.089 s) : 0, 11088871
section appsec
Agent [baseline] (1.248 s) : 0, 1248287
Total [baseline] (11.135 s) : 0, 11135246
Agent [candidate] (1.249 s) : 0, 1249401
Total [candidate] (11.145 s) : 0, 11144513
section iast
Agent [baseline] (1.224 s) : 0, 1224230
Total [baseline] (11.293 s) : 0, 11292841
Agent [candidate] (1.239 s) : 0, 1239499
Total [candidate] (11.413 s) : 0, 11412967
section profiling
Agent [baseline] (1.184 s) : 0, 1184098
Total [baseline] (11.027 s) : 0, 11026883
Agent [candidate] (1.186 s) : 0, 1185906
Total [candidate] (11.136 s) : 0, 11135802
gantt
title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.227 ms) : 0, 1227
crashtracking [candidate] (1.238 ms) : 0, 1238
BytebuddyAgent [baseline] (633.62 ms) : 0, 633620
BytebuddyAgent [candidate] (631.491 ms) : 0, 631491
AgentMeter [baseline] (29.518 ms) : 0, 29518
AgentMeter [candidate] (29.281 ms) : 0, 29281
GlobalTracer [baseline] (248.97 ms) : 0, 248970
GlobalTracer [candidate] (248.716 ms) : 0, 248716
AppSec [baseline] (31.941 ms) : 0, 31941
AppSec [candidate] (31.916 ms) : 0, 31916
Debugger [baseline] (59.952 ms) : 0, 59952
Debugger [candidate] (59.787 ms) : 0, 59787
Remote Config [baseline] (599.653 µs) : 0, 600
Remote Config [candidate] (592.757 µs) : 0, 593
Telemetry [baseline] (8.097 ms) : 0, 8097
Telemetry [candidate] (8.053 ms) : 0, 8053
Flare Poller [baseline] (7.451 ms) : 0, 7451
Flare Poller [candidate] (5.124 ms) : 0, 5124
section appsec
crashtracking [baseline] (1.223 ms) : 0, 1223
crashtracking [candidate] (1.228 ms) : 0, 1228
BytebuddyAgent [baseline] (662.076 ms) : 0, 662076
BytebuddyAgent [candidate] (662.45 ms) : 0, 662450
AgentMeter [baseline] (11.999 ms) : 0, 11999
AgentMeter [candidate] (11.989 ms) : 0, 11989
GlobalTracer [baseline] (249.279 ms) : 0, 249279
GlobalTracer [candidate] (249.113 ms) : 0, 249113
IAST [baseline] (24.632 ms) : 0, 24632
IAST [candidate] (24.608 ms) : 0, 24608
AppSec [baseline] (184.515 ms) : 0, 184515
AppSec [candidate] (184.656 ms) : 0, 184656
Debugger [baseline] (65.485 ms) : 0, 65485
Debugger [candidate] (66.188 ms) : 0, 66188
Remote Config [baseline] (596.142 µs) : 0, 596
Remote Config [candidate] (595.188 µs) : 0, 595
Telemetry [baseline] (8.601 ms) : 0, 8601
Telemetry [candidate] (8.552 ms) : 0, 8552
Flare Poller [baseline] (3.525 ms) : 0, 3525
Flare Poller [candidate] (3.551 ms) : 0, 3551
section iast
crashtracking [baseline] (1.229 ms) : 0, 1229
crashtracking [candidate] (1.246 ms) : 0, 1246
BytebuddyAgent [baseline] (801.114 ms) : 0, 801114
BytebuddyAgent [candidate] (813.744 ms) : 0, 813744
AgentMeter [baseline] (11.402 ms) : 0, 11402
AgentMeter [candidate] (11.638 ms) : 0, 11638
GlobalTracer [baseline] (239.107 ms) : 0, 239107
GlobalTracer [candidate] (240.685 ms) : 0, 240685
IAST [baseline] (25.721 ms) : 0, 25721
IAST [candidate] (25.872 ms) : 0, 25872
AppSec [baseline] (31.809 ms) : 0, 31809
AppSec [candidate] (29.452 ms) : 0, 29452
Debugger [baseline] (59.989 ms) : 0, 59989
Debugger [candidate] (63.374 ms) : 0, 63374
Remote Config [baseline] (1.73 ms) : 0, 1730
Remote Config [candidate] (1.767 ms) : 0, 1767
Telemetry [baseline] (12.493 ms) : 0, 12493
Telemetry [candidate] (11.845 ms) : 0, 11845
Flare Poller [baseline] (3.5 ms) : 0, 3500
Flare Poller [candidate] (3.459 ms) : 0, 3459
section profiling
crashtracking [baseline] (1.182 ms) : 0, 1182
crashtracking [candidate] (1.18 ms) : 0, 1180
BytebuddyAgent [baseline] (691.015 ms) : 0, 691015
BytebuddyAgent [candidate] (691.526 ms) : 0, 691526
AgentMeter [baseline] (9.14 ms) : 0, 9140
AgentMeter [candidate] (9.228 ms) : 0, 9228
GlobalTracer [baseline] (207.399 ms) : 0, 207399
GlobalTracer [candidate] (207.607 ms) : 0, 207607
AppSec [baseline] (32.51 ms) : 0, 32510
AppSec [candidate] (32.752 ms) : 0, 32752
Debugger [baseline] (65.543 ms) : 0, 65543
Debugger [candidate] (65.888 ms) : 0, 65888
Remote Config [baseline] (566.891 µs) : 0, 567
Remote Config [candidate] (585.275 µs) : 0, 585
Telemetry [baseline] (7.905 ms) : 0, 7905
Telemetry [candidate] (7.783 ms) : 0, 7783
Flare Poller [baseline] (3.572 ms) : 0, 3572
Flare Poller [candidate] (3.598 ms) : 0, 3598
ProfilingAgent [baseline] (93.987 ms) : 0, 93987
ProfilingAgent [candidate] (94.459 ms) : 0, 94459
Profiling [baseline] (94.557 ms) : 0, 94557
Profiling [candidate] (95.04 ms) : 0, 95040
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.055 s) : 0, 1054800
Total [baseline] (8.847 s) : 0, 8847310
Agent [candidate] (1.054 s) : 0, 1054353
Total [candidate] (8.854 s) : 0, 8854419
section iast
Agent [baseline] (1.225 s) : 0, 1225473
Total [baseline] (9.593 s) : 0, 9593228
Agent [candidate] (1.222 s) : 0, 1221954
Total [candidate] (9.586 s) : 0, 9586444
gantt
title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.227 ms) : 0, 1227
crashtracking [candidate] (1.216 ms) : 0, 1216
BytebuddyAgent [baseline] (633.095 ms) : 0, 633095
BytebuddyAgent [candidate] (632.475 ms) : 0, 632475
AgentMeter [baseline] (29.399 ms) : 0, 29399
AgentMeter [candidate] (29.408 ms) : 0, 29408
GlobalTracer [baseline] (248.08 ms) : 0, 248080
GlobalTracer [candidate] (248.939 ms) : 0, 248939
AppSec [baseline] (31.896 ms) : 0, 31896
AppSec [candidate] (31.985 ms) : 0, 31985
Debugger [baseline] (58.843 ms) : 0, 58843
Debugger [candidate] (59.058 ms) : 0, 59058
Remote Config [baseline] (605.684 µs) : 0, 606
Remote Config [candidate] (593.087 µs) : 0, 593
Telemetry [baseline] (8.038 ms) : 0, 8038
Telemetry [candidate] (8.081 ms) : 0, 8081
Flare Poller [baseline] (7.446 ms) : 0, 7446
Flare Poller [candidate] (6.543 ms) : 0, 6543
section iast
crashtracking [baseline] (1.244 ms) : 0, 1244
crashtracking [candidate] (1.218 ms) : 0, 1218
BytebuddyAgent [baseline] (802.829 ms) : 0, 802829
BytebuddyAgent [candidate] (800.335 ms) : 0, 800335
AgentMeter [baseline] (11.438 ms) : 0, 11438
AgentMeter [candidate] (11.34 ms) : 0, 11340
GlobalTracer [baseline] (239.385 ms) : 0, 239385
GlobalTracer [candidate] (239.241 ms) : 0, 239241
IAST [baseline] (26.586 ms) : 0, 26586
IAST [candidate] (25.731 ms) : 0, 25731
AppSec [baseline] (32.608 ms) : 0, 32608
AppSec [candidate] (30.719 ms) : 0, 30719
Debugger [baseline] (57.529 ms) : 0, 57529
Debugger [candidate] (58.576 ms) : 0, 58576
Remote Config [baseline] (1.141 ms) : 0, 1141
Remote Config [candidate] (518.965 µs) : 0, 519
Telemetry [baseline] (12.957 ms) : 0, 12957
Telemetry [candidate] (14.408 ms) : 0, 14408
Flare Poller [baseline] (3.482 ms) : 0, 3482
Flare Poller [candidate] (3.633 ms) : 0, 3633
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 4 performance regressions! Performance is the same for 13 metrics, 18 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section baseline
no_agent (1.247 ms) : 1235, 1259
. : milestone, 1247,
iast (3.234 ms) : 3195, 3272
. : milestone, 3234,
iast_FULL (5.971 ms) : 5912, 6031
. : milestone, 5971,
iast_GLOBAL (3.443 ms) : 3393, 3492
. : milestone, 3443,
profiling (2.156 ms) : 2134, 2178
. : milestone, 2156,
tracing (1.869 ms) : 1854, 1885
. : milestone, 1869,
section candidate
no_agent (1.239 ms) : 1227, 1251
. : milestone, 1239,
iast (3.318 ms) : 3269, 3368
. : milestone, 3318,
iast_FULL (6.105 ms) : 6042, 6169
. : milestone, 6105,
iast_GLOBAL (3.776 ms) : 3708, 3844
. : milestone, 3776,
profiling (2.343 ms) : 2320, 2366
. : milestone, 2343,
tracing (1.867 ms) : 1851, 1883
. : milestone, 1867,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section baseline
no_agent (19.19 ms) : 18995, 19384
. : milestone, 19190,
appsec (18.394 ms) : 18210, 18578
. : milestone, 18394,
code_origins (18.302 ms) : 18119, 18484
. : milestone, 18302,
iast (17.761 ms) : 17587, 17935
. : milestone, 17761,
profiling (19.244 ms) : 19045, 19443
. : milestone, 19244,
tracing (17.903 ms) : 17726, 18081
. : milestone, 17903,
section candidate
no_agent (17.03 ms) : 16865, 17196
. : milestone, 17030,
appsec (18.631 ms) : 18440, 18821
. : milestone, 18631,
code_origins (17.634 ms) : 17453, 17814
. : milestone, 17634,
iast (18.575 ms) : 18390, 18759
. : milestone, 18575,
profiling (19.149 ms) : 18956, 19342
. : milestone, 19149,
tracing (18.154 ms) : 17972, 18335
. : milestone, 18154,
DacapoParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 0 unstable metrics.
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section baseline
no_agent (1.489 ms) : 1478, 1501
. : milestone, 1489,
appsec (3.845 ms) : 3623, 4068
. : milestone, 3845,
iast (2.277 ms) : 2208, 2346
. : milestone, 2277,
iast_GLOBAL (2.326 ms) : 2257, 2395
. : milestone, 2326,
profiling (2.094 ms) : 2039, 2149
. : milestone, 2094,
tracing (2.08 ms) : 2026, 2133
. : milestone, 2080,
section candidate
no_agent (1.492 ms) : 1481, 1504
. : milestone, 1492,
appsec (2.531 ms) : 2477, 2586
. : milestone, 2531,
iast (2.28 ms) : 2210, 2349
. : milestone, 2280,
iast_GLOBAL (2.323 ms) : 2253, 2393
. : milestone, 2323,
profiling (2.099 ms) : 2045, 2154
. : milestone, 2099,
tracing (2.081 ms) : 2028, 2135
. : milestone, 2081,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~b19d2811ae, baseline=1.61.0~aa7c70f2e7
dateFormat X
axisFormat %s
section baseline
no_agent (14.822 s) : 14822000, 14822000
. : milestone, 14822000,
appsec (14.978 s) : 14978000, 14978000
. : milestone, 14978000,
iast (18.332 s) : 18332000, 18332000
. : milestone, 18332000,
iast_GLOBAL (18.193 s) : 18193000, 18193000
. : milestone, 18193000,
profiling (14.977 s) : 14977000, 14977000
. : milestone, 14977000,
tracing (15.165 s) : 15165000, 15165000
. : milestone, 15165000,
section candidate
no_agent (14.999 s) : 14999000, 14999000
. : milestone, 14999000,
appsec (14.696 s) : 14696000, 14696000
. : milestone, 14696000,
iast (18.107 s) : 18107000, 18107000
. : milestone, 18107000,
iast_GLOBAL (18.315 s) : 18315000, 18315000
. : milestone, 18315000,
profiling (15.508 s) : 15508000, 15508000
. : milestone, 15508000,
tracing (14.906 s) : 14906000, 14906000
. : milestone, 14906000,
|
Adding missing end ul to doc Moving iterator benchmarks next to enhancedFor
…dd-trace-java into dougqh/list-iteration-benchmark
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
Benchmark examining different ways to iterate over Lists:
Collections.emptyList,Collections.singletonList, andArrayListof different sizesCovers multiple iteration options...
Each benchmark has a variation with and without the loop body fully inlined
Motivation
Illustrate overhead and make recommendations about the preferred way to iterate over lists in dd-java-agent.
Additional Notes
Recommends are...
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]
Note: Once your PR is ready to merge, add it to the merge queue by commenting
/merge./merge -ccancels the queue request./merge -f --reason "reason"skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.