lukecwik removed a comment on pull request #17134:
URL: https://github.com/apache/beam/pull/17134#issuecomment-1074447580


   I would suggest sticking with `read/writeLongViaLocalBuffer` since 
read/write calls can depend on many layers of I/O before hitting the lowest 
layer so that allows us to pushdown the number of bytes we want to read/write 
as close to the layer doing I/O. Benchmarking using 
`ByteArrayInput/OutputStream` will give very skewed 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