Skip to content
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

Add command-line argument for benchmark result filename #904

Merged
merged 2 commits into from
Oct 7, 2020

Conversation

andygrove
Copy link
Contributor

Signed-off-by: Andy Grove andygrove@nvidia.com

When running automated benchmarks with a number of different configurations, it is important to be able to override the name of the generated report summary JSON file that contains the timing information.

This PR also updates the pom so that a jar-with-dependencies jar is built for the integration_test module.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove added the benchmark Benchmarking, benchmarking tools label Oct 1, 2020
@andygrove andygrove added this to the Sep 28 - Oct 9 milestone Oct 1, 2020
@andygrove andygrove self-assigned this Oct 1, 2020
@andygrove
Copy link
Contributor Author

build

@@ -33,19 +33,21 @@ object TpcdsLikeBench extends Logging {
* @param spark The Spark session
* @param query The name of the query to run e.g. "q5"
* @param iterations The number of times to run the query.
* @param resultFilenameStub Optional name for the generated JSON summary file.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm assuming Stub here was intentional because I think its actually only part of the file name, we may want to clarify the description to say prefix for the...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. I renamed to summaryFilePrefix to disambiguate from the output arguments that refer to the output of the query itself. I also updated the javadocs.

@@ -167,6 +179,7 @@ class Conf(arguments: Seq[String]) extends ScallopConf(arguments) {
val iterations = opt[Int](default = Some(3))
val output = opt[String](required = false)
val outputFormat = opt[String](required = false)
val name = opt[String](required = false)
Copy link
Collaborator

Choose a reason for hiding this comment

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

similar here, "name" ends up being the command line option perhaps we should be more specific like outputFilePrefix

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove
Copy link
Contributor Author

build

@andygrove
Copy link
Contributor Author

Tests timed out.

build.

@andygrove
Copy link
Contributor Author

build

@andygrove andygrove mentioned this pull request Oct 5, 2020
@tgravescs
Copy link
Collaborator

build

1 similar comment
@andygrove
Copy link
Contributor Author

build

@andygrove andygrove merged commit ee48681 into NVIDIA:branch-0.3 Oct 7, 2020
sperlingxx pushed a commit to sperlingxx/spark-rapids that referenced this pull request Nov 20, 2020
* Add command-line argument for benchmark result filename

Signed-off-by: Andy Grove <andygrove@nvidia.com>

* Rename parameter to summaryFilePrefix

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove deleted the benchmark-result-filename branch December 17, 2020 15:26
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Add command-line argument for benchmark result filename

Signed-off-by: Andy Grove <andygrove@nvidia.com>

* Rename parameter to summaryFilePrefix

Signed-off-by: Andy Grove <andygrove@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Add command-line argument for benchmark result filename

Signed-off-by: Andy Grove <andygrove@nvidia.com>

* Rename parameter to summaryFilePrefix

Signed-off-by: Andy Grove <andygrove@nvidia.com>
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
…IDIA#904)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark Benchmarking, benchmarking tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants