comphead opened a new pull request, #12093:
URL: https://github.com/apache/arrow-rs/pull/12093

   # Which issue does this PR close?
   
   - Relates to apache/datafusion#26687.
   
   # Rationale for this change
   
   `StreamDecoder` has no benchmarks. As CONTRIBUTING.md asks, this adds them 
in their own PR so the benchmark runner can measure the 
`StreamDecoder::with_skip_validation` fix from #11552 against `main`.
   
   # What changes are included in this PR?
   
   Two benchmarks next to the `StreamReader` ones, `StreamDecoder/read_10` and 
`StreamDecoder/no_validation/read_10`. Both decode the same 10-batch stream 
from a single `Buffer`. The code is from #11552 by @Dandandan.
   
   # Are these changes tested?
   
   This PR only adds benchmarks. On `main` both take about 129 µs on an M5 Max, 
because `with_skip_validation` does not reach record batches yet.
   
   # Are there any significant user-facing changes?
   
   No.
   
   AI disclosure: The benchmarks come from #11552. Porting them to `main` and 
writing this description were done with Claude Code. I have reviewed every 
change and the benchmark results.
   


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