Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346104

Summary: [Performance] ResourceUtil read and write methods should use buffers
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.4   
Target Milestone: 1.4 RC2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch for readText
none
Cumulative patch to improve ResourceUtil#write none

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