arunpandianp opened a new pull request, #33735: URL: https://github.com/apache/beam/pull/33735
OutputStreamWriter is thread safe and has synchronization overhead. Each OutputStreamWriter allocates a 512 byte buffer which is useful when writing in-memory ByteStrings. The buffer allocations show up starkly on cpu profiles. <img width="1679" alt="Screenshot 2025-01-22 at 8 37 55 PM" src="https://github.com/user-attachments/assets/caf90d5a-5b8a-43ab-b91e-6cf1813a984f" /> -- 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]
