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/10 20:55:20 UTC

[PR] [SPARK-55947][PYTHON] Add ASV micro-benchmarks for grouped Arrow UDF eval types [spark]

Yicong-Huang opened a new pull request, #54743:
URL: https://github.com/apache/spark/pull/54743

   ### What changes were proposed in this pull request?
   
   Add ASV micro-benchmarks for `SQL_GROUPED_MAP_ARROW_UDF` and `SQL_GROUPED_AGG_ARROW_UDF` to `bench_eval_type.py`.
   
   ### Why are the changes needed?
   
   Part of SPARK-55724. We need baseline benchmarks before refactoring the grouped Arrow eval types.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   ### How was this patch tested?
   
   ```
   cd python && python -m benchmarks.bench_eval_type
   ```
   
   **SQL_GROUPED_MAP_ARROW_UDF**
   
   | Scenario | identity_udf | sort_udf | filter_udf |
   |---|---|---|---|
   | few_groups_sm | 0.019s | 0.042s | 0.019s |
   | few_groups_lg | 0.084s | 0.304s | 0.084s |
   | many_groups_sm | 0.480s | 0.729s | 0.480s |
   | many_groups_lg | 0.237s | 0.708s | 0.237s |
   | wide_values | 0.309s | 0.482s | 0.309s |
   | multi_key | 0.077s | 0.197s | 0.077s |
   
   **SQL_GROUPED_AGG_ARROW_UDF**
   
   | Scenario | identity_udf | sort_udf | nullcheck_udf |
   |---|---|---|---|
   | few_groups_sm | 0.010s | 0.010s | 0.008s |
   | few_groups_lg | 0.041s | 0.041s | 0.038s |
   | many_groups_sm | 0.267s | 0.267s | 0.229s |
   | many_groups_lg | 0.121s | 0.121s | 0.106s |
   
   ### 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-55947][PYTHON][TEST] Add ASV micro-benchmarks for SQL_GROUPED_MAP_ARROW_UDF and SQL_GROUPED_MAP_ARROW_ITER_UDF [spark]

Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng commented on PR #54743:
URL: https://github.com/apache/spark/pull/54743#issuecomment-4044525608

   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-55947][PYTHON][TEST] Add ASV micro-benchmarks for SQL_GROUPED_MAP_ARROW_UDF and SQL_GROUPED_MAP_ARROW_ITER_UDF [spark]

Posted by "zhengruifeng (via GitHub)" <gi...@apache.org>.
zhengruifeng closed pull request #54743: [SPARK-55947][PYTHON][TEST] Add ASV micro-benchmarks for SQL_GROUPED_MAP_ARROW_UDF and SQL_GROUPED_MAP_ARROW_ITER_UDF
URL: https://github.com/apache/spark/pull/54743


-- 
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