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 126879 - Slow refreshing Model after save or undeploy-deploy action
Summary: Slow refreshing Model after save or undeploy-deploy action
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: _ deva
URL:
Keywords: PERFORMANCE
: 126860 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-07 03:47 UTC by cadorca
Modified: 2008-02-26 03:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cadorca 2008-02-07 03:47:01 UTC
Im developing a project to my company, using JPA and the visual web framework, I have about 15 pages, after save or
undeploy/deploy the IDE takes about 50 seconds to "Refrehs Model" is the message thats show, the IDE is blocked, I cant
do anything while this happens and it uses about 60% of my CPU, I trying to promote Netbeans as the main IDE in my
company but with this issue is imposible begin to use in production development, if you want I can give you the source
project
Comment 1 _ sandipchitale 2008-02-07 04:49:43 UTC
*** Issue 126860 has been marked as a duplicate of this issue. ***
Comment 2 _ sandipchitale 2008-02-07 17:36:29 UTC
The modeling needs to be done to pick up potential changes to the classes that are used in the application. The modeling
is slow. The modeling happens only for pages that were opened in the designer before or if the navigation editor was
opened (which models all the pages in 6.0 (issue# 123534) has been fixed in 6.1). We are looking at how to improve the
modeling performance based on various suggestions from Winston in issue # 126860.
Comment 3 _ deva 2008-02-13 21:47:32 UTC
The fix is to refresh only the models corresponding to pages which are visible. The other models are marked for 
refresh and they get refreshed whenever their corresponding pages becomes visible. This will improve the 
responsiveness of IDE for this scenario
changeset 2b790ff967d5 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=2b790ff967d5
description:
	Fix for #126879: Slow refreshing Models after save or undeploy-deploy action
Comment 4 cadorca 2008-02-26 03:20:46 UTC
Can you publish the fix like an update, patch, ... , the release of Netbeans 6.1 is faraway and the time lost waiting
until the IDE do this is huge,

Thanks