This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new e52dfc5026d3 [MINOR][DOCS] Document how to run a specified benchmark
e52dfc5026d3 is described below
commit e52dfc5026d3ddfbbe738cd070750693d3ccd3f7
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Thu Feb 26 22:15:36 2026 -0800
[MINOR][DOCS] Document how to run a specified benchmark
### What changes were proposed in this pull request?
Document how to run a specified benchmark
### Why are the changes needed?
to address
https://github.com/apache/spark/pull/54530#issuecomment-3970758583
### Does this PR introduce _any_ user-facing change?
No, dev-only
### How was this patch tested?
CI
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #54536 from zhengruifeng/doc_how_separate_benchmark.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
python/benchmarks/README.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/python/benchmarks/README.md b/python/benchmarks/README.md
index 0a6013791ccf..c9bab2ee4ed3 100644
--- a/python/benchmarks/README.md
+++ b/python/benchmarks/README.md
@@ -24,6 +24,13 @@ cd python/benchmarks
asv run --python=same --quick
```
+You can also specify the test class to run:
+
+```bash
+cd python/benchmarks
+asv run --python=same --quick -b 'bench_arrow.LongArrowToPandasBenchmark'
+```
+
### Full run against a commit
Run benchmarks in an isolated virtualenv (builds pyspark from source):
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]