-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-25479][TEST] Refactor DatasetBenchmark to use main method #22488
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
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
21b623a
Refactor DatasetBenchmark
wangyum 152c549
Remove useless import
wangyum 51ae87e
Fix scala doc issue
wangyum 71dfe03
Merge remote-tracking branch 'upstream/master' into SPARK-25479
wangyum 361e9f8
Merge remote-tracking branch 'upstream/master' into SPARK-25479
wangyum 7990e13
merge master
wangyum c0ae4ef
Merge remote-tracking branch 'upstream/master' into SPARK-25479
wangyum d2d0a3e
benchmark -> runBenchmarkSuite
wangyum 27c6493
Update result (#13)
dongjoon-hyun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| ================================================================================================ | ||
| Dataset Benchmark | ||
| ================================================================================================ | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_181-b13 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| back-to-back map long: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| RDD 11800 / 12042 8.5 118.0 1.0X | ||
| DataFrame 1927 / 2189 51.9 19.3 6.1X | ||
| Dataset 2483 / 2605 40.3 24.8 4.8X | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_181-b13 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| back-to-back map: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| RDD 16286 / 16301 6.1 162.9 1.0X | ||
| DataFrame 8101 / 8104 12.3 81.0 2.0X | ||
| Dataset 17445 / 17811 5.7 174.4 0.9X | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_181-b13 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| back-to-back filter Long: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| RDD 2971 / 3184 33.7 29.7 1.0X | ||
| DataFrame 1243 / 1296 80.5 12.4 2.4X | ||
| Dataset 3062 / 3091 32.7 30.6 1.0X | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_181-b13 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| back-to-back filter: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| RDD 5253 / 5269 19.0 52.5 1.0X | ||
| DataFrame 211 / 234 473.4 2.1 24.9X | ||
| Dataset 9550 / 9552 10.5 95.5 0.6X | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_181-b13 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| aggregate: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| RDD sum 5086 / 5108 19.7 50.9 1.0X | ||
| DataFrame sum 65 / 73 1548.9 0.6 78.8X | ||
| Dataset sum using Aggregator 9024 / 9320 11.1 90.2 0.6X | ||
| Dataset complex Aggregator 15079 / 15171 6.6 150.8 0.3X | ||
|
|
||
|
|
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
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.
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.
Need override default
SparkSessionas defaultSparkSessionis: