Commit 45048fd
committed
[SPARK-52662] Add
### 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.
Closes #273 from dongjoon-hyun/SPARK-52662.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>SparkApp benchmark1 parent b0255cf commit 45048fd
1 file changed
+67
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments