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 - Slow storing of database files
Summary: Slow storing of database files
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Martin Matula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-08-25 12:32 UTC by _ rkubacki
Modified: 2004-09-22 13:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
suggested patch for IOUtils (2.42 KB, patch)
2004-08-25 12:34 UTC, _ rkubacki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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