Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jul 3, 2025

What changes were proposed in this pull request?

This PR aims to add a simple E2E benchmark for SparkApp as a baseline.

Why are the changes needed?

To check SparkApp creation and deletion in a measurable way.

Does this PR introduce any user-facing change?

No, this is a test.

How was this patch tested?

Manual tests. When the argument is not given, the default value for the number of jobs is 1000.

$ sh tests/benchmark/sparkapps.sh 100
CLEAN UP NAMESPACE FOR BENCHMARK
START BENCHMARK WITH 100 JOBS
FINISHED 100 JOBS IN 56 SECONDS.
DELETED 100 JOBS IN 40 SECONDS.
$ sh tests/benchmark/sparkapps.sh
CLEAN UP NAMESPACE FOR BENCHMARK
START BENCHMARK WITH 1000 JOBS
FINISHED 1000 JOBS IN 340 SECONDS.
DELETED 1000 JOBS IN 401 SECONDS.

Was this patch authored or co-authored using generative AI tooling?

No.


for i in $(seq -f "%05g" 1 $NUM); do
cat << EOF >> $filename
apiVersion: spark.apache.org/v1beta1
Copy link
Member Author

Choose a reason for hiding this comment

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

This is currently v1beta1 to run this benchmark with the old Helm Chart also.

@dongjoon-hyun
Copy link
Member Author

cc @peter-toth and @viirya

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya . Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-52662 branch July 3, 2025 01:44
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.

2 participants