-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[MINOR][SQL][TESTS] Disable UI in SQL benchmarks by default #28432
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
|
Test build #122179 has finished for PR 28432 at commit
|
| package org.apache.spark.sql.execution.benchmark | ||
|
|
||
| import org.apache.spark.benchmark.{Benchmark, BenchmarkBase} | ||
| import org.apache.spark.internal.config.UI._ |
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.
nit: import org.apache.spark.internal.config.UI.UI_ENABLED
|
Test build #122197 has finished for PR 28432 at commit
|
|
jenkins, retest this, please |
### What changes were proposed in this pull request? Set `spark.ui.enabled` to `false` in `SqlBasedBenchmark.getSparkSession`. This disables UI in all SQL benchmarks by default. ### Why are the changes needed? UI overhead lowers numbers in the `Relative` column and impacts on `Stdev` in benchmark results. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Checked by running `DateTimeRebaseBenchmark`. Closes #28432 from MaxGekk/ui-off-in-benchmarks. Authored-by: Max Gekk <[email protected]> Signed-off-by: Takeshi Yamamuro <[email protected]> (cherry picked from commit 13dddee) Signed-off-by: Takeshi Yamamuro <[email protected]>
|
Since I checked the last commit doesn't affect test results, I've merged to mater/branch-3.0. Thanks, @MaxGekk ! |
|
Test build #122204 has finished for PR 28432 at commit
|
### What changes were proposed in this pull request? Set `spark.ui.enabled` to `false` in `SqlBasedBenchmark.getSparkSession`. This disables UI in all SQL benchmarks by default. ### Why are the changes needed? UI overhead lowers numbers in the `Relative` column and impacts on `Stdev` in benchmark results. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Checked by running `DateTimeRebaseBenchmark`. Closes apache#28432 from MaxGekk/ui-off-in-benchmarks. Authored-by: Max Gekk <[email protected]> Signed-off-by: Takeshi Yamamuro <[email protected]>
What changes were proposed in this pull request?
Set
spark.ui.enabledtofalseinSqlBasedBenchmark.getSparkSession. This disables UI in all SQL benchmarks by default.Why are the changes needed?
UI overhead lowers numbers in the
Relativecolumn and impacts onStdevin benchmark results.Does this PR introduce any user-facing change?
No
How was this patch tested?
Checked by running
DateTimeRebaseBenchmark.