Opened 5 years ago

Closed 5 years ago

#16557 closed enhancement (fixed)

Minor buffering improvements reading descriptors.

Reported by: leeroy Owned by: karsten
Priority: Low Milestone:
Component: Metrics/Library Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The reading of descriptors is usually done from a BufferedInputStream wrapping the source. The improvement is to change the read from 1k to 8k. This coincides with the stream's internal buffer size. The alternative is 1k reads from an otherwise 8k aligned buffer.

This patch also wraps the writing of disk files in a BufferedOutputStream.

Child Tickets

Attachments (1)

0001-Minor-buffering-improvements.patch (2.9 KB) - added by leeroy 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by leeroy

comment:1 Changed 5 years ago by karsten

Resolution: fixed
Status: newclosed

Looks good! Merged with a trivial whitespace fix. Thanks! Closing.

Note: See TracTickets for help on using tickets.