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 223484 - FaceletsLibrarySupport.checkLibraryDescriptorsUpToDate() performance issue
Summary: FaceletsLibrarySupport.checkLibraryDescriptorsUpToDate() performance issue
Status: STARTED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords: PERFORMANCE
: 225354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-07 14:20 UTC by lolo_101
Modified: 2017-12-10 09:21 UTC (History)
15 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196258


Attachments
nps snapshot (121.41 KB, application/nps)
2012-12-07 14:20 UTC, lolo_101
Details
.npss file attached from NetBeans (3.01 MB, application/x-npss)
2017-09-25 19:35 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lolo_101 2012-12-07 14:20:35 UTC
This bug was originally marked as duplicate of bug 171840, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) Client VM, 20.10-b01, Java(TM) SE Runtime Environment, 1.6.0_35-b10
OS: Windows XP

User Comments:
Lolo_101: code edition while compilation running



Maximum slowness yet reported was 6813 ms, average is 6813
Comment 1 lolo_101 2012-12-07 14:20:39 UTC
Created attachment 129050 [details]
nps snapshot
Comment 2 Dusan Balek 2012-12-07 14:41:54 UTC
As can be seen from the attached snapshot, code completion is waiting for the parser lock held by an extremely slow hints computation inside html editor. Reassigning.
Comment 3 Marek Fukala 2012-12-07 15:37:31 UTC
Composite component libraries *first time initialization* involves many index queries. If there's more libraries this may take some time.

But the *biggest sore point is FaceletsLibrarySupport.checkLibraryDescriptorsUpToDate()* which is very slow but called very often. This problem I believe must be addressed!
Comment 4 Martin Fousek 2013-08-20 08:54:03 UTC
*** Bug 225354 has been marked as a duplicate of this bug. ***
Comment 5 muellermi 2017-01-13 14:24:51 UTC
Although this bug is assigned to JSF Editor, it appears in Java Editor.
It is reproducible within my sources when I invoke autocompletion after a new statement.
Since I'm using a very fast computer, it usually delays my work "only" 3-4 seconds. I guess it will be even longer on a medium fast computer.
Comment 6 muellermi 2017-01-13 14:27:34 UTC
NetBeans Error Report Upload Complete
It has now been added to the database with id #840218. It has been classified as a duplicate of report #196258.
We will endeavor to find the cause of the problem. You can view the status at bug 223484.

*** Just to give more info to my previous comment. The mentioned report is related to Java Editor***
Comment 7 muellermi 2017-01-17 13:22:39 UTC
In Java Editor, this time editing an @Entity
Comment 8 alied 2017-09-25 19:35:01 UTC
Created attachment 165178 [details]
.npss file attached from NetBeans

.npss file