-
Notifications
You must be signed in to change notification settings - Fork 318
Add Spark physical plan as a field in spark.sql spans #9600
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
Conversation
|
🎯 Code Coverage 🔗 Commit SHA: 4b6c8f9 | Docs | Was this helpful? Give us feedback! |
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 54 metrics, 5 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.006 s) : 0, 1005807
Total [baseline] (10.755 s) : 0, 10755032
Agent [candidate] (1.005 s) : 0, 1005465
Total [candidate] (10.79 s) : 0, 10790319
section appsec
Agent [baseline] (1.197 s) : 0, 1196749
Total [baseline] (10.948 s) : 0, 10948199
Agent [candidate] (1.186 s) : 0, 1185908
Total [candidate] (10.943 s) : 0, 10943464
section iast
Agent [baseline] (1.145 s) : 0, 1144686
Total [baseline] (10.958 s) : 0, 10957957
Agent [candidate] (1.153 s) : 0, 1152880
Total [candidate] (10.912 s) : 0, 10912284
section profiling
Agent [baseline] (1.152 s) : 0, 1151570
Total [baseline] (11.078 s) : 0, 11078473
Agent [candidate] (1.16 s) : 0, 1159570
Total [candidate] (11.075 s) : 0, 11074520
gantt
title petclinic - break down per module: candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.464 ms) : 0, 1464
crashtracking [candidate] (1.448 ms) : 0, 1448
BytebuddyAgent [baseline] (688.343 ms) : 0, 688343
BytebuddyAgent [candidate] (688.014 ms) : 0, 688014
GlobalTracer [baseline] (247.634 ms) : 0, 247634
GlobalTracer [candidate] (247.794 ms) : 0, 247794
AppSec [baseline] (31.157 ms) : 0, 31157
AppSec [candidate] (31.044 ms) : 0, 31044
Debugger [baseline] (6.371 ms) : 0, 6371
Debugger [candidate] (6.358 ms) : 0, 6358
Remote Config [baseline] (675.641 µs) : 0, 676
Remote Config [candidate] (665.358 µs) : 0, 665
Telemetry [baseline] (8.972 ms) : 0, 8972
Telemetry [candidate] (9.04 ms) : 0, 9040
section appsec
crashtracking [baseline] (1.474 ms) : 0, 1474
crashtracking [candidate] (1.453 ms) : 0, 1453
BytebuddyAgent [baseline] (718.134 ms) : 0, 718134
BytebuddyAgent [candidate] (711.349 ms) : 0, 711349
GlobalTracer [baseline] (241.725 ms) : 0, 241725
GlobalTracer [candidate] (239.679 ms) : 0, 239679
IAST [baseline] (24.952 ms) : 0, 24952
IAST [candidate] (24.509 ms) : 0, 24509
AppSec [baseline] (171.761 ms) : 0, 171761
AppSec [candidate] (172.02 ms) : 0, 172020
Debugger [baseline] (6.042 ms) : 0, 6042
Debugger [candidate] (6.768 ms) : 0, 6768
Remote Config [baseline] (649.004 µs) : 0, 649
Remote Config [candidate] (637.962 µs) : 0, 638
Telemetry [baseline] (10.725 ms) : 0, 10725
Telemetry [candidate] (8.412 ms) : 0, 8412
section iast
crashtracking [baseline] (1.464 ms) : 0, 1464
crashtracking [candidate] (1.469 ms) : 0, 1469
BytebuddyAgent [baseline] (810.141 ms) : 0, 810141
BytebuddyAgent [candidate] (816.222 ms) : 0, 816222
GlobalTracer [baseline] (236.904 ms) : 0, 236904
GlobalTracer [candidate] (238.542 ms) : 0, 238542
IAST [baseline] (26.152 ms) : 0, 26152
IAST [candidate] (26.303 ms) : 0, 26303
AppSec [baseline] (33.86 ms) : 0, 33860
AppSec [candidate] (33.806 ms) : 0, 33806
Debugger [baseline] (5.99 ms) : 0, 5990
Debugger [candidate] (6.057 ms) : 0, 6057
Remote Config [baseline] (593.611 µs) : 0, 594
Remote Config [candidate] (595.913 µs) : 0, 596
Telemetry [baseline] (8.226 ms) : 0, 8226
Telemetry [candidate] (8.491 ms) : 0, 8491
section profiling
crashtracking [baseline] (1.451 ms) : 0, 1451
crashtracking [candidate] (1.454 ms) : 0, 1454
BytebuddyAgent [baseline] (718.924 ms) : 0, 718924
BytebuddyAgent [candidate] (723.728 ms) : 0, 723728
GlobalTracer [baseline] (223.328 ms) : 0, 223328
GlobalTracer [candidate] (225.566 ms) : 0, 225566
AppSec [baseline] (31.293 ms) : 0, 31293
AppSec [candidate] (31.62 ms) : 0, 31620
Debugger [baseline] (6.494 ms) : 0, 6494
Debugger [candidate] (8.067 ms) : 0, 8067
Remote Config [baseline] (717.966 µs) : 0, 718
Remote Config [candidate] (721.932 µs) : 0, 722
Telemetry [baseline] (16.12 ms) : 0, 16120
Telemetry [candidate] (14.807 ms) : 0, 14807
ProfilingAgent [baseline] (101.171 ms) : 0, 101171
ProfilingAgent [candidate] (101.256 ms) : 0, 101256
Profiling [baseline] (101.778 ms) : 0, 101778
Profiling [candidate] (101.879 ms) : 0, 101879
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.01 s) : 0, 1009588
Total [baseline] (8.661 s) : 0, 8661005
Agent [candidate] (1.007 s) : 0, 1006550
Total [candidate] (8.665 s) : 0, 8664606
section iast
Agent [baseline] (1.143 s) : 0, 1142728
Total [baseline] (9.276 s) : 0, 9275930
Agent [candidate] (1.141 s) : 0, 1141469
Total [candidate] (9.239 s) : 0, 9239214
gantt
title insecure-bank - break down per module: candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.476 ms) : 0, 1476
crashtracking [candidate] (1.456 ms) : 0, 1456
BytebuddyAgent [baseline] (691.505 ms) : 0, 691505
BytebuddyAgent [candidate] (689.44 ms) : 0, 689440
GlobalTracer [baseline] (248.197 ms) : 0, 248197
GlobalTracer [candidate] (247.328 ms) : 0, 247328
AppSec [baseline] (31.236 ms) : 0, 31236
AppSec [candidate] (31.193 ms) : 0, 31193
Debugger [baseline] (6.378 ms) : 0, 6378
Debugger [candidate] (6.391 ms) : 0, 6391
Remote Config [baseline] (675.326 µs) : 0, 675
Remote Config [candidate] (673.72 µs) : 0, 674
Telemetry [baseline] (8.911 ms) : 0, 8911
Telemetry [candidate] (8.968 ms) : 0, 8968
section iast
crashtracking [baseline] (1.459 ms) : 0, 1459
crashtracking [candidate] (1.458 ms) : 0, 1458
BytebuddyAgent [baseline] (809.327 ms) : 0, 809327
BytebuddyAgent [candidate] (807.814 ms) : 0, 807814
GlobalTracer [baseline] (236.2 ms) : 0, 236200
GlobalTracer [candidate] (236.473 ms) : 0, 236473
IAST [baseline] (25.912 ms) : 0, 25912
IAST [candidate] (25.948 ms) : 0, 25948
AppSec [baseline] (33.882 ms) : 0, 33882
AppSec [candidate] (33.548 ms) : 0, 33548
Debugger [baseline] (6.088 ms) : 0, 6088
Debugger [candidate] (6.046 ms) : 0, 6046
Remote Config [baseline] (596.556 µs) : 0, 597
Remote Config [candidate] (583.44 µs) : 0, 583
Telemetry [baseline] (8.053 ms) : 0, 8053
Telemetry [candidate] (8.33 ms) : 0, 8330
LoadParameters
See matching parameters
SummaryFound 4 performance improvements and 3 performance regressions! Performance is the same for 5 metrics, 12 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section baseline
no_agent (4.533 ms) : 4482, 4585
. : milestone, 4533,
iast (10.039 ms) : 9873, 10205
. : milestone, 10039,
iast_FULL (14.624 ms) : 14335, 14914
. : milestone, 14624,
iast_GLOBAL (10.329 ms) : 10145, 10514
. : milestone, 10329,
profiling (9.287 ms) : 9140, 9434
. : milestone, 9287,
tracing (8.108 ms) : 7989, 8226
. : milestone, 8108,
section candidate
no_agent (4.306 ms) : 4258, 4355
. : milestone, 4306,
iast (9.695 ms) : 9525, 9865
. : milestone, 9695,
iast_FULL (14.399 ms) : 14114, 14684
. : milestone, 14399,
iast_GLOBAL (11.002 ms) : 10805, 11199
. : milestone, 11002,
profiling (8.935 ms) : 8798, 9071
. : milestone, 8935,
tracing (8.113 ms) : 7994, 8232
. : milestone, 8113,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section baseline
no_agent (37.131 ms) : 36833, 37429
. : milestone, 37131,
appsec (49.169 ms) : 48738, 49601
. : milestone, 49169,
code_origins (42.409 ms) : 42062, 42757
. : milestone, 42409,
iast (45.569 ms) : 45188, 45949
. : milestone, 45569,
profiling (48.597 ms) : 48166, 49028
. : milestone, 48597,
tracing (44.604 ms) : 44213, 44994
. : milestone, 44604,
section candidate
no_agent (35.946 ms) : 35666, 36226
. : milestone, 35946,
appsec (47.27 ms) : 46850, 47690
. : milestone, 47270,
code_origins (44.942 ms) : 44551, 45333
. : milestone, 44942,
iast (46.223 ms) : 45830, 46616
. : milestone, 46223,
profiling (50.556 ms) : 50088, 51024
. : milestone, 50556,
tracing (44.706 ms) : 44327, 45086
. : milestone, 44706,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section baseline
no_agent (1.479 ms) : 1467, 1490
. : milestone, 1479,
appsec (3.686 ms) : 3472, 3901
. : milestone, 3686,
iast (2.206 ms) : 2143, 2269
. : milestone, 2206,
iast_GLOBAL (2.244 ms) : 2180, 2308
. : milestone, 2244,
profiling (2.054 ms) : 2003, 2105
. : milestone, 2054,
tracing (2.025 ms) : 1976, 2074
. : milestone, 2025,
section candidate
no_agent (1.475 ms) : 1463, 1486
. : milestone, 1475,
appsec (3.685 ms) : 3471, 3899
. : milestone, 3685,
iast (2.215 ms) : 2152, 2278
. : milestone, 2215,
iast_GLOBAL (2.256 ms) : 2192, 2319
. : milestone, 2256,
profiling (2.048 ms) : 1998, 2098
. : milestone, 2048,
tracing (2.04 ms) : 1990, 2090
. : milestone, 2040,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.54.0-SNAPSHOT~4b6c8f97ce, baseline=1.54.0-SNAPSHOT~d76b984a7f
dateFormat X
axisFormat %s
section baseline
no_agent (15.066 s) : 15066000, 15066000
. : milestone, 15066000,
appsec (15.283 s) : 15283000, 15283000
. : milestone, 15283000,
iast (18.338 s) : 18338000, 18338000
. : milestone, 18338000,
iast_GLOBAL (18.504 s) : 18504000, 18504000
. : milestone, 18504000,
profiling (15.4 s) : 15400000, 15400000
. : milestone, 15400000,
tracing (15.21 s) : 15210000, 15210000
. : milestone, 15210000,
section candidate
no_agent (14.944 s) : 14944000, 14944000
. : milestone, 14944000,
appsec (15.057 s) : 15057000, 15057000
. : milestone, 15057000,
iast (18.564 s) : 18564000, 18564000
. : milestone, 18564000,
iast_GLOBAL (17.712 s) : 17712000, 17712000
. : milestone, 17712000,
profiling (15.651 s) : 15651000, 15651000
. : milestone, 15651000,
tracing (15.149 s) : 15149000, 15149000
. : milestone, 15149000,
|
23e7690 to
4b6c8f9
Compare
What Does This Do
Adds the text-based physical query plan to
spark.sqltraces.Motivation
The physical query plan contains useful, pre-formatted info that details how the query will be executed. This will complement the JSON-formatted query plan info already provided as it gives a more complete, e2e picture of the plan.
Additional Notes
N/A
Contributor Checklist
type:and (comp:orinst:) labels in addition to any usefull labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: DJM-964