Have JFR setting event for native-image recording#6348
Merged
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 2 performance regressions! Performance is the same for 44 metrics, 8 unstable metrics.
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.26.0-SNAPSHOT~725e1b31bd, baseline=1.26.0-SNAPSHOT~e26f1a4abf
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.567 s) : 0, 1566752
Total [baseline] (12.2 s) : 0, 12199766
Agent [candidate] (1.567 s) : 0, 1567473
Total [candidate] (12.243 s) : 0, 12243244
section iast
Agent [baseline] (1.721 s) : 0, 1720745
Total [baseline] (12.93 s) : 0, 12930000
Agent [candidate] (1.719 s) : 0, 1718831
Total [candidate] (12.925 s) : 0, 12924565
section iast_TELEMETRY_OFF
Agent [baseline] (1.715 s) : 0, 1715327
Total [baseline] (12.938 s) : 0, 12938097
Agent [candidate] (1.716 s) : 0, 1715793
Total [candidate] (12.949 s) : 0, 12949129
gantt
title insecure-bank - break down per module: candidate=1.26.0-SNAPSHOT~725e1b31bd, baseline=1.26.0-SNAPSHOT~e26f1a4abf
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (968.927 ms) : 0, 968927
BytebuddyAgent [candidate] (970.754 ms) : 0, 970754
GlobalTracer [baseline] (458.361 ms) : 0, 458361
GlobalTracer [candidate] (456.627 ms) : 0, 456627
AppSec [baseline] (68.864 ms) : 0, 68864
AppSec [candidate] (69.416 ms) : 0, 69416
Remote Config [baseline] (845.886 µs) : 0, 846
Remote Config [candidate] (849.089 µs) : 0, 849
Telemetry [baseline] (9.419 ms) : 0, 9419
Telemetry [candidate] (9.409 ms) : 0, 9409
section iast
BytebuddyAgent [baseline] (1.139 s) : 0, 1139265
BytebuddyAgent [candidate] (1.138 s) : 0, 1137990
GlobalTracer [baseline] (421.266 ms) : 0, 421266
GlobalTracer [candidate] (420.78 ms) : 0, 420780
AppSec [baseline] (65.963 ms) : 0, 65963
AppSec [candidate] (66.62 ms) : 0, 66620
IAST [baseline] (22.241 ms) : 0, 22241
IAST [candidate] (22.977 ms) : 0, 22977
Remote Config [baseline] (763.048 µs) : 0, 763
Remote Config [candidate] (765.89 µs) : 0, 766
Telemetry [baseline] (10.778 ms) : 0, 10778
Telemetry [candidate] (9.313 ms) : 0, 9313
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (1.13 s) : 0, 1130042
BytebuddyAgent [candidate] (1.132 s) : 0, 1131716
GlobalTracer [baseline] (422.307 ms) : 0, 422307
GlobalTracer [candidate] (422.246 ms) : 0, 422246
AppSec [baseline] (67.252 ms) : 0, 67252
AppSec [candidate] (66.366 ms) : 0, 66366
IAST [baseline] (21.962 ms) : 0, 21962
IAST [candidate] (23.271 ms) : 0, 23271
Remote Config [baseline] (789.835 µs) : 0, 790
Remote Config [candidate] (809.773 µs) : 0, 810
Telemetry [baseline] (12.322 ms) : 0, 12322
Telemetry [candidate] (10.724 ms) : 0, 10724
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.26.0-SNAPSHOT~725e1b31bd, baseline=1.26.0-SNAPSHOT~e26f1a4abf
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.562 s) : 0, 1561567
Total [baseline] (12.848 s) : 0, 12848250
Agent [candidate] (1.572 s) : 0, 1572277
Total [candidate] (12.911 s) : 0, 12910893
section appsec
Agent [baseline] (1.701 s) : 0, 1701148
Total [baseline] (12.96 s) : 0, 12959886
Agent [candidate] (1.709 s) : 0, 1709448
Total [candidate] (13.054 s) : 0, 13054467
section iast
Agent [baseline] (1.72 s) : 0, 1719850
Total [baseline] (13.326 s) : 0, 13326117
Agent [candidate] (1.728 s) : 0, 1728117
Total [candidate] (13.285 s) : 0, 13285272
section profiling
Agent [baseline] (1.868 s) : 0, 1867550
Total [baseline] (13.228 s) : 0, 13228447
Agent [candidate] (1.891 s) : 0, 1890936
Total [candidate] (13.258 s) : 0, 13257952
gantt
title petclinic - break down per module: candidate=1.26.0-SNAPSHOT~725e1b31bd, baseline=1.26.0-SNAPSHOT~e26f1a4abf
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (967.114 ms) : 0, 967114
BytebuddyAgent [candidate] (972.271 ms) : 0, 972271
GlobalTracer [baseline] (455.468 ms) : 0, 455468
GlobalTracer [candidate] (460.288 ms) : 0, 460288
AppSec [baseline] (68.885 ms) : 0, 68885
AppSec [candidate] (68.974 ms) : 0, 68974
Remote Config [baseline] (842.574 µs) : 0, 843
Remote Config [candidate] (848.04 µs) : 0, 848
Telemetry [baseline] (9.29 ms) : 0, 9290
Telemetry [candidate] (9.386 ms) : 0, 9386
section appsec
BytebuddyAgent [baseline] (968.786 ms) : 0, 968786
BytebuddyAgent [candidate] (975.948 ms) : 0, 975948
GlobalTracer [baseline] (457.81 ms) : 0, 457810
GlobalTracer [candidate] (456.968 ms) : 0, 456968
AppSec [baseline] (203.828 ms) : 0, 203828
AppSec [candidate] (205.178 ms) : 0, 205178
Remote Config [baseline] (796.184 µs) : 0, 796
Remote Config [candidate] (802.271 µs) : 0, 802
Telemetry [baseline] (9.916 ms) : 0, 9916
Telemetry [candidate] (9.993 ms) : 0, 9993
section iast
BytebuddyAgent [baseline] (1.139 s) : 0, 1138566
BytebuddyAgent [candidate] (1.144 s) : 0, 1144474
GlobalTracer [baseline] (420.91 ms) : 0, 420910
GlobalTracer [candidate] (422.178 ms) : 0, 422178
AppSec [baseline] (66.47 ms) : 0, 66470
AppSec [candidate] (66.418 ms) : 0, 66418
Remote Config [baseline] (759.473 µs) : 0, 759
Remote Config [candidate] (766.576 µs) : 0, 767
Telemetry [baseline] (10.751 ms) : 0, 10751
Telemetry [candidate] (9.999 ms) : 0, 9999
IAST [baseline] (22.238 ms) : 0, 22238
IAST [candidate] (23.673 ms) : 0, 23673
section profiling
BytebuddyAgent [baseline] (989.803 ms) : 0, 989803
BytebuddyAgent [candidate] (995.453 ms) : 0, 995453
GlobalTracer [baseline] (571.047 ms) : 0, 571047
GlobalTracer [candidate] (572.079 ms) : 0, 572079
AppSec [baseline] (70.022 ms) : 0, 70022
AppSec [candidate] (70.024 ms) : 0, 70024
Remote Config [baseline] (860.591 µs) : 0, 861
Remote Config [candidate] (849.849 µs) : 0, 850
Telemetry [baseline] (9.754 ms) : 0, 9754
Telemetry [candidate] (9.769 ms) : 0, 9769
ProfilingAgent [baseline] (136.051 ms) : 0, 136051
ProfilingAgent [candidate] (152.472 ms) : 0, 152472
Profiling [baseline] (136.109 ms) : 0, 136109
Profiling [candidate] (152.543 ms) : 0, 152543
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 5 metrics, 17 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~725e1b31bd, baseline=1.26.0-SNAPSHOT~e26f1a4abf
dateFormat X
axisFormat %s
section baseline
no_agent (442.3 µs) : 413, 471
. : milestone, 442,
iast (577.907 µs) : 547, 609
. : milestone, 578,
iast_FULL (662.774 µs) : 633, 693
. : milestone, 663,
iast_INACTIVE (543.793 µs) : 513, 575
. : milestone, 544,
iast_TELEMETRY_OFF (568.392 µs) : 538, 599
. : milestone, 568,
tracing (535.747 µs) : 505, 567
. : milestone, 536,
section candidate
no_agent (461.944 µs) : 433, 491
. : milestone, 462,
iast (575.463 µs) : 544, 607
. : milestone, 575,
iast_FULL (665.692 µs) : 634, 697
. : milestone, 666,
iast_INACTIVE (541.295 µs) : 511, 572
. : milestone, 541,
iast_TELEMETRY_OFF (577.223 µs) : 546, 609
. : milestone, 577,
tracing (532.415 µs) : 503, 562
. : milestone, 532,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.26.0-SNAPSHOT~725e1b31bd, baseline=1.26.0-SNAPSHOT~e26f1a4abf
dateFormat X
axisFormat %s
section baseline
no_agent (1.714 ms) : 1688, 1739
. : milestone, 1714,
appsec (2.22 ms) : 2187, 2253
. : milestone, 2220,
iast (1.915 ms) : 1881, 1948
. : milestone, 1915,
profiling (1.907 ms) : 1873, 1942
. : milestone, 1907,
tracing (1.912 ms) : 1879, 1945
. : milestone, 1912,
section candidate
no_agent (1.73 ms) : 1705, 1755
. : milestone, 1730,
appsec (2.205 ms) : 2172, 2238
. : milestone, 2205,
iast (1.925 ms) : 1892, 1957
. : milestone, 1925,
profiling (1.924 ms) : 1889, 1958
. : milestone, 1924,
tracing (1.904 ms) : 1871, 1938
. : milestone, 1904,
|
jbachorik
marked this pull request as ready for review
December 12, 2023 12:03
richardstartin
approved these changes
Dec 12, 2023
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
It provides a convenient way for the recording processors to tell the originating JFR implementation.
Motivation
To make it easier for the recording processors to decide how to handle a recording.
Eg. the native-image generated JFRs are using itimer for the ExecutionSample events and as such don't need upscaling samples to CPU time via thread CPU load.
Additional Notes
Jira ticket: PROF-8784