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 193942 - [70cat] 7s in properties.PropertiesParser.createReader()
Summary: [70cat] 7s in properties.PropertiesParser.createReader()
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@apisupport
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-12-30 15:42 UTC by crosati
Modified: 2012-11-08 08:31 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169127


Attachments
nps snapshot (18.38 KB, application/nps)
2010-12-30 15:42 UTC, crosati
Details
nps snapshot (16.06 KB, application/nps)
2010-12-30 15:46 UTC, crosati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crosati 2010-12-30 15:42:02 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
musilt2: changed branding in NB maven app



Maximum slowness yet reported was 12945 ms, average is 6210
Comment 1 crosati 2010-12-30 15:42:08 UTC
Created attachment 104631 [details]
nps snapshot
Comment 2 crosati 2010-12-30 15:46:06 UTC
Created attachment 104632 [details]
nps snapshot
Comment 3 Jan Peska 2011-11-10 09:32:05 UTC
I'm afraid that in this case it would be necessary to call PropertiesDataObject.getBundleStructure() outside of EDT. This operation can takes a while.

I will review reports one by one, but right now I can see that slowness http://statistics.netbeans.org/exceptions/exception.do?id=534866 is related to form editor 

-> guys, I'm reassigning it to you. Please evaluate this issue and let me know if you are able to fix this particular case on your site.

During this time I'll try to find other sources of this issue.
Comment 4 Jan Peska 2011-11-10 09:34:34 UTC
I'm sorry, correct link to form related slowness is: http://statistics.netbeans.org/exceptions/exception.do?id=517052
Comment 5 Jan Peska 2011-11-10 13:27:46 UTC
Several others reports are related to NB application/Branding.../Resource Bundles, I believe this window belong to APISupport/Project, so it should be reassigned there after "form" part of this issue is handled.
Comment 6 Tomas Pavek 2012-08-29 17:34:00 UTC
The cases with GUI builder (opening a form) are already tracked as bug 179407, and in fact the time spent in PropertiesParser.createReader is not that long here.

But there are several cases of much longer time spent when invoked from Branding node. E.g.:
http://statistics.netbeans.org/exceptions/exception.do?id=534866
http://statistics.netbeans.org/exceptions/exception.do?id=472877
http://statistics.netbeans.org/exceptions/exception.do?id=429703
Comment 7 Petr Cyhelsky 2012-11-08 08:31:32 UTC
Last slowness report is from 7.0.1 - doesn't seem to be a problem now