HyukjinKwon opened a new pull request, #48958:
URL: https://github.com/apache/arrow/pull/48958

   ### Rationale for this change
   
   The Python benchmark suite was missing coverage for temporal types (date, 
timestamp, time, duration), making it difficult to check performance of 
temporal type conversions over time. There was a TODO comment in 
`convert_builtins.py` for this.
   
   ### What changes are included in this PR?
   
   - Added temporal type generators to `benchmarks/common.py` for date, 
timestamp, time, and duration
   - Extended `convert_builtins.py`, `microbenchmarks.py`, and `array_ops.py` 
benchmarks to include temporal types
   
   ### Are these changes tested?
   
   Tested as follows:
   
   ```bash
   cd /.../arrow/python
   pip install -e . --no-build-isolation
   asv run --show-stderr --bench "convert_builtins" -E existing
   asv run --show-stderr --bench "microbenchmarks" -E existing
   asv run --show-stderr --bench "array_ops" -E existing
   ```
   
   ### Are there any user-facing changes?
   
   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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to