-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-25663][SPARK-25661][SQL][TEST] Refactor BuiltInDataSourceWriteBenchmark, DataSourceWriteBenchmark and AvroWriteBenchmark to use main method #22861
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
10 commits
Select commit
Hold shift + click to select a range
81fe383
BuiltInDataSourceWriteBenchmark
yucai 155a872
monir
yucai 22b4c50
[SPARK-25864][SQL][TEST] Make main args set correctly in BenchmarkBase
yucai 83d21c2
minor
yucai 59f167d
Merge remote-tracking branch 'origin/master' into BuiltInDataSourceWr…
yucai 74f6ef5
minor
yucai f06b2ac
address comments
yucai 93ca3be
minor
yucai cf8dbea
Update result
dongjoon-hyun 3ca0cf2
Merge pull request #6 from dongjoon-hyun/PR-22861
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,10 @@ | ||
| OpenJDK 64-Bit Server VM 1.8.0_191-b12 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| Avro writer benchmark: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| Output Single Int Column 3213 / 3373 4.9 204.3 1.0X | ||
| Output Single Double Column 3313 / 3345 4.7 210.7 1.0X | ||
| Output Int and String Column 7303 / 7316 2.2 464.3 0.4X | ||
| Output Partitions 5309 / 5691 3.0 337.5 0.6X | ||
| Output Buckets 7031 / 7557 2.2 447.0 0.5X | ||
|
|
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
60 changes: 60 additions & 0 deletions
60
sql/core/benchmarks/BuiltInDataSourceWriteBenchmark-results.txt
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,60 @@ | ||
| ================================================================================================ | ||
| Parquet writer benchmark | ||
| ================================================================================================ | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_191-b12 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| Parquet writer benchmark: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| Output Single Int Column 2354 / 2438 6.7 149.7 1.0X | ||
| Output Single Double Column 2462 / 2485 6.4 156.5 1.0X | ||
| Output Int and String Column 8083 / 8100 1.9 513.9 0.3X | ||
| Output Partitions 5015 / 5027 3.1 318.8 0.5X | ||
| Output Buckets 6883 / 6887 2.3 437.6 0.3X | ||
|
|
||
|
|
||
| ================================================================================================ | ||
| ORC writer benchmark | ||
| ================================================================================================ | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_191-b12 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| ORC writer benchmark: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| Output Single Int Column 1769 / 1789 8.9 112.4 1.0X | ||
| Output Single Double Column 1989 / 2009 7.9 126.5 0.9X | ||
| Output Int and String Column 7323 / 7400 2.1 465.6 0.2X | ||
| Output Partitions 4374 / 4381 3.6 278.1 0.4X | ||
| Output Buckets 6086 / 6104 2.6 386.9 0.3X | ||
|
|
||
|
|
||
| ================================================================================================ | ||
| JSON writer benchmark | ||
| ================================================================================================ | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_191-b12 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| JSON writer benchmark: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| Output Single Int Column 2954 / 4085 5.3 187.8 1.0X | ||
| Output Single Double Column 3832 / 3837 4.1 243.6 0.8X | ||
| Output Int and String Column 9591 / 10336 1.6 609.8 0.3X | ||
| Output Partitions 4956 / 4994 3.2 315.1 0.6X | ||
| Output Buckets 6608 / 6676 2.4 420.1 0.4X | ||
|
|
||
|
|
||
| ================================================================================================ | ||
| CSV writer benchmark | ||
| ================================================================================================ | ||
|
|
||
| OpenJDK 64-Bit Server VM 1.8.0_191-b12 on Linux 3.10.0-862.3.2.el7.x86_64 | ||
| Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz | ||
| CSV writer benchmark: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
| ------------------------------------------------------------------------------------------------ | ||
| Output Single Int Column 4118 / 4125 3.8 261.8 1.0X | ||
| Output Single Double Column 4888 / 4891 3.2 310.8 0.8X | ||
| Output Int and String Column 9788 / 9872 1.6 622.3 0.4X | ||
| Output Partitions 6578 / 6640 2.4 418.2 0.6X | ||
| Output Buckets 9125 / 9171 1.7 580.2 0.5X | ||
|
|
||
|
|
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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Please add
avro: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 hint an exception when run:
Uh oh!
There was an error while loading. Please reload this page.
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.
@wangyum Good catch! I think it needs
<spark avro jar>, added.