-
Notifications
You must be signed in to change notification settings - Fork 28k
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
[SPARK-32071][SQL][TESTS] Add make_interval
benchmark
#28905
Conversation
make_interval(): Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative | ||
------------------------------------------------------------------------------------------------------------------------ | ||
prepare make_interval() 3396 3410 13 0.3 3395.6 1.0X | ||
make_interval(0,1,2,3,4,5,50.123456) 132 141 8 7.6 132.3 25.7X |
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.
I had to remove spaces otherwise results in the table are shifted so much to the right and not aligned to column names.
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.
This PR #28906 fixes the issue.
Test build #124414 has finished for PR 28905 at commit
|
…to benchmark-make_interval
@cloud-fan @HyukjinKwon @dongjoon-hyun Please, review this PR. |
Test build #124430 has finished for PR 28905 at commit
|
Test build #124433 has finished for PR 28905 at commit
|
do we need to regenerate the result as #28906 is merged? |
@cloud-fan I will re-generate results tomorrow. |
Test build #124499 has finished for PR 28905 at commit
|
@HyukjinKwon @cloud-fan Please, review this PR. |
make_interval
make_interval
Retest this please. |
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.
+1, LGTM. Merged to master.
Thank you, @MaxGekk .
make_interval
make_interval
benchmark
Test build #124579 has finished for PR 28905 at commit
|
What changes were proposed in this pull request?
Add benchmarks for interval constructor
make_interval
and measure perf of 4 cases:The benchmark results are generated in the environment:
Why are the changes needed?
To have a base line for future perf improvements of
make_interval
, and to prevent perf regressions in the future.Does this PR introduce any user-facing change?
No
How was this patch tested?
By running
IntervalBenchmark
via: