Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented May 4, 2016

What changes were proposed in this pull request?

We currently have a single suite that is very large, making it difficult to maintain and play with specific primitives. This patch reorganizes the file by creating multiple benchmark suites in a single package.

Most of the changes are straightforward move of code. On top of the code moving, I did:

  1. Use SparkSession instead of SQLContext.
  2. Turned most benchmark scenarios into a their own test cases, rather than having multiple scenarios in a single test case, which takes forever to run.

How was this patch tested?

This is a test only change.

@rxin
Copy link
Contributor Author

rxin commented May 4, 2016

cc @davies

*
* Benchmarks in this file are skipped in normal builds.
*/
class SortBenchmark extends BenchmarkBase {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was taken from RadixSortSuite

@SparkQA
Copy link

SparkQA commented May 4, 2016

Test build #57738 has finished for PR 12891 at commit b65505b.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@davies
Copy link
Contributor

davies commented May 4, 2016

LGTM

@rxin
Copy link
Contributor Author

rxin commented May 4, 2016

Thanks - merging in master/branch-2.0. The earlier test failure was unrelated.

asfgit pushed a commit that referenced this pull request May 4, 2016
## What changes were proposed in this pull request?
We currently have a single suite that is very large, making it difficult to maintain and play with specific primitives. This patch reorganizes the file by creating multiple benchmark suites in a single package.

Most of the changes are straightforward move of code. On top of the code moving, I did:
1. Use SparkSession instead of SQLContext.
2. Turned most benchmark scenarios into a their own test cases, rather than having multiple scenarios in a single test case, which takes forever to run.

## How was this patch tested?
This is a test only change.

Author: Reynold Xin <[email protected]>

Closes #12891 from rxin/SPARK-15115.

(cherry picked from commit 6274a52)
Signed-off-by: Reynold Xin <[email protected]>
@asfgit asfgit closed this in 6274a52 May 4, 2016
@SparkQA
Copy link

SparkQA commented May 4, 2016

Test build #2968 has finished for PR 12891 at commit b65505b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants