deniskuzZ commented on code in PR #544:
URL: https://github.com/apache/tez/pull/544#discussion_r4363151779
##########
tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/sort/impl/IFile.java:
##########
@@ -261,6 +263,8 @@ public Path getOutputPath() {
@InterfaceStability.Unstable
@SuppressWarnings({"unchecked", "rawtypes"})
public static class Writer {
+ private static final int WRITE_BUFFER_SIZE = 64 * 1024;
Review Comment:
BufferedOutputStream +5–6 % (Snappy) / +13–47 % (no codec); 4 KB costing
+150 % on the no-codec path, which is Tez's default configuration.
We could do more measurements in the follow-up
--
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]