google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

fix(storage): remove extra copy in gRPC Reader

Open tritone opened this issue 1 year ago • 0 comments

We found via profiling that copy to/from the leftovers buffer was using extra CPU. This removes that additional layer of copying.

Reader integration tests pass including the ObjectReadChunksGRPC test which covers this functionality.

Still need to finish profiling to verify that this fix addresses the issue fully.

tritone avatar Jan 22 '24 06:01 tritone