Opened 4 years ago

Closed 4 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:

Description

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 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by leeroy

comment:1 Changed 4 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.