You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2013/03/07 11:58:15 UTC
[jira] [Updated] (FILEUPLOAD-207) enhance file read/write
performance
[ https://issues.apache.org/jira/browse/FILEUPLOAD-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simone Tripodi updated FILEUPLOAD-207:
--------------------------------------
Summary: enhance file read/write performance (was: enhance file write performance)
> enhance file read/write performance
> -----------------------------------
>
> Key: FILEUPLOAD-207
> URL: https://issues.apache.org/jira/browse/FILEUPLOAD-207
> Project: Commons FileUpload
> Issue Type: Improvement
> Affects Versions: 1.2.2
> Environment: CentOS 5.5
> Reporter: frank
> Labels: patch
> Fix For: 1.3
>
> Attachments: DiskFileItem.java
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> Class: org.apache.commons.fileupload.disk.DiskFileItem
> Method: write(File file)
> Line: 422
> Modification:
> decorates the FileOutputStream with BufferedOutputStream (line: 424~426)
> Method: get()
> Line: 331
> Modification:
> decorates the FileInputStream with BufferedInputStream (line: 340~342)
> for method write, this change will have 2 times of speed-up.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira