-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-25846][SQL][TEST] Refactor ExternalAppendOnlyUnsafeRowArrayBenchmark to use main method #22842
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
[SPARK-25846][SQL][TEST] Refactor ExternalAppendOnlyUnsafeRowArrayBenchmark to use main method #22842
Changes from all commits
Commits
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
39 changes: 39 additions & 0 deletions
39
sql/core/benchmarks/ExternalAppendOnlyUnsafeRowArrayBenchmark-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,39 @@ | ||
================================================================================================ | ||
Benchmark for ArrayBuffer and UnsafeRowArray | ||
================================================================================================ | ||
|
||
OpenJDK 64-Bit Server VM 1.8.0_163-b01 on Windows 7 6.1 | ||
Intel64 Family 6 Model 94 Stepping 3, GenuineIntel | ||
Array with 1000 rows: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
------------------------------------------------------------------------------------------------ | ||
ArrayBuffer 8694 / 8743 30.2 33.2 1.0X | ||
ExternalAppendOnlyUnsafeRowArray 19827 / 19946 13.2 75.6 0.4X | ||
|
||
OpenJDK 64-Bit Server VM 1.8.0_163-b01 on Windows 7 6.1 | ||
Intel64 Family 6 Model 94 Stepping 3, GenuineIntel | ||
Array with 30000 rows: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
------------------------------------------------------------------------------------------------ | ||
ArrayBuffer 24793 / 27135 19.8 50.4 1.0X | ||
ExternalAppendOnlyUnsafeRowArray 24877 / 24963 19.8 50.6 1.0X | ||
|
||
OpenJDK 64-Bit Server VM 1.8.0_163-b01 on Windows 7 6.1 | ||
Intel64 Family 6 Model 94 Stepping 3, GenuineIntel | ||
Array with 100000 rows: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
------------------------------------------------------------------------------------------------ | ||
ArrayBuffer 6255 / 6263 16.4 61.1 1.0X | ||
ExternalAppendOnlyUnsafeRowArray 5608 / 6170 18.3 54.8 1.1X | ||
|
||
OpenJDK 64-Bit Server VM 1.8.0_163-b01 on Windows 7 6.1 | ||
Intel64 Family 6 Model 94 Stepping 3, GenuineIntel | ||
Spilling with 1000 rows: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
------------------------------------------------------------------------------------------------ | ||
UnsafeExternalSorter 15767 / 15790 16.6 60.1 1.0X | ||
ExternalAppendOnlyUnsafeRowArray 10013 / 10036 26.2 38.2 1.6X | ||
|
||
OpenJDK 64-Bit Server VM 1.8.0_163-b01 on Windows 7 6.1 | ||
Intel64 Family 6 Model 94 Stepping 3, GenuineIntel | ||
Spilling with 10000 rows: Best/Avg Time(ms) Rate(M/s) Per Row(ns) Relative | ||
------------------------------------------------------------------------------------------------ | ||
UnsafeExternalSorter 5 / 6 29.2 34.3 1.0X | ||
ExternalAppendOnlyUnsafeRowArray 6 / 7 26.2 38.1 0.9X | ||
|
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.
Sorry @heary-cao Seems it's duplicate work? #22617
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 check our all refactors here: https://issues.apache.org/jira/browse/SPARK-25475