Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346104 - [Performance] ResourceUtil read and write methods should use buffers
Summary: [Performance] ResourceUtil read and write methods should use buffers
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.4 RC2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 11:11 EDT by Ralf Sternberg CLA
Modified: 2011-05-17 12:37 EDT (History)
0 users

See Also:


Attachments
Patch for readText (3.56 KB, patch)
2011-05-17 11:38 EDT, Ralf Sternberg CLA
no flags Details | Diff
Cumulative patch to improve ResourceUtil#write (19.47 KB, patch)
2011-05-17 12:34 EDT, Ralf Sternberg CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2011-05-17 11:11:06 EDT
Performance analysis found that ResourceUtil read and write methods have room for optimization. Currently, we read and write byte-wise, using a buffer performs better.
Comment 1 Ralf Sternberg CLA 2011-05-17 11:38:31 EDT
Created attachment 195881 [details]
Patch for readText

Applied first patch to 1.4 maintenance branch
Comment 2 Ralf Sternberg CLA 2011-05-17 12:34:48 EDT
Created attachment 195890 [details]
Cumulative patch to improve ResourceUtil#write

Applied second patch to 1.4 maintenance branch
Comment 3 Ralf Sternberg CLA 2011-05-17 12:37:41 EDT
Applied both patches also to CVS HEAD