Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CHECKIN: Bugzilla 122666 - Performance enhancement for RandomAccessFile

Title: CHECKIN: Bugzilla 122666 - Performance enhancement for RandomAccessFile

- Summary:
Fixed Bugzilla 122666 - Performance enhancement for RandomAccessFile

- Bugzilla Bug (s) Resolved:
122666

- Description:
The readInt method of RandomAccessFile makes 4 calls to system, and the calls are not buffered. Since report archive is based on RandomAccessFile and function readInt is called very frequently (for each object) while reading the report document, we added a buffer to reduce the system IO calls from 4 to 1. Unit tests show the performance for function readInt() is now 3.5 times faster than before.

- Tests Description:
Engine unit test

- Files Edited:
/org.eclipse.birt.core/src/org/eclipse/birt/core/archive/RAFileInputStream.java

- Code Reviewer:
Stanley

- Notes to Build Team:

- Notes to Developers:

- Notes to QA: 
 
- Notes to Documentation:


Back to the top