This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 47900

Summary: Slow storing of database files
Product: java Reporter: _ rkubacki <rkubacki>
Component: UnsupportedAssignee: Martin Matula <mmatula>
Status: RESOLVED FIXED    
Severity: blocker CC: issues
Priority: P3 Keywords: PERFORMANCE
Version: 4.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: suggested patch for IOUtils

Description _ rkubacki 2004-08-25 12:32:57 UTC
During profiling I found that
IOUtils.write{Int|String} takes a lot of time
while IDE is closed. Also IOUtils.writeLong but is
not so important. I tried to tune them and get
~40% improvement for writeInt and ~10% on writeString.

I tried also to improve readInt but w/o success at
this moment. Might be worth optimization too.
Comment 1 _ rkubacki 2004-08-25 12:34:38 UTC
Created attachment 17125 [details]
suggested patch for IOUtils
Comment 2 Martin Matula 2004-09-22 13:01:52 UTC
Patch applied.

Checking in src/org/netbeans/mdr/util/IOUtils.java;
/cvs/mdr/src/org/netbeans/mdr/util/IOUtils.java,v  <--  IOUtils.java
new revision: 1.30; previous revision: 1.29
done