You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "Yicong-Huang (via GitHub)" <gi...@apache.org> on 2026/03/27 09:49:51 UTC
[PR] [SPARK-56120][PYTHON][TEST] Add ASV micro-benchmarks for SQL_WINDOW_AGG_ARROW_UDF [spark]
Yicong-Huang opened a new pull request, #55056:
URL: https://github.com/apache/spark/pull/55056
### What changes were proposed in this pull request?
Add ASV micro-benchmarks for `SQL_WINDOW_AGG_ARROW_UDF`.
Also adds optional `runner_conf` parameter to `MockProtocolWriter.write_worker_input` for passing configuration like `window_bound_types`.
### Why are the changes needed?
Part of [SPARK-55724](https://issues.apache.org/jira/browse/SPARK-55724). Establishes performance baselines before refactoring this eval type.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
```
python/asv run --python=same -b "WindowAgg" -a repeat=3 -a rounds=5 -a warmup_time=5.0
```
```
··· ================ ============ ================
-- udf
---------------- -----------------------------
scenario sum_udf mean_multi_udf
================ ============ ================
few_groups_sm 9.19±0.2ms 7.92±0.2ms
few_groups_lg 33.8±0.5ms 31.5±0.5ms
many_groups_sm 237±5ms 210±3ms
many_groups_lg 137±1ms 124±0.8ms
wide_cols 69.5±0.7ms 70.4±2ms
================ ============ ================
```
```
··· ================ ========= ================
-- udf
---------------- --------------------------
scenario sum_udf mean_multi_udf
================ ========= ================
few_groups_sm 6.5G 6.5G
few_groups_lg 6.52G 6.52G
many_groups_sm 6.5G 6.5G
many_groups_lg 6.54G 6.53G
wide_cols 6.51G 6.51G
================ ========= ================
```
### Was this patch authored or co-authored using generative AI tooling?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-56120][PYTHON][TEST] Add ASV micro-benchmarks for SQL_WINDOW_AGG_ARROW_UDF [spark]
Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng closed pull request #55056: [SPARK-56120][PYTHON][TEST] Add ASV micro-benchmarks for SQL_WINDOW_AGG_ARROW_UDF
URL: https://github.com/apache/spark/pull/55056
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-56120][PYTHON][TEST] Add ASV micro-benchmarks for SQL_WINDOW_AGG_ARROW_UDF [spark]
Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng commented on PR #55056:
URL: https://github.com/apache/spark/pull/55056#issuecomment-4159781863
merged to master
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [SPARK-56120][PYTHON][TEST] Add ASV micro-benchmarks for SQL_WINDOW_AGG_ARROW_UDF [spark]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang commented on PR #55056:
URL: https://github.com/apache/spark/pull/55056#issuecomment-4141787553
wait for fix in #55059
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org