[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-675) Large JSF file are too slow to handle, making editor useless for them

Maxim Areshkau (JIRA) jira-events at lists.jboss.org
Tue Feb 12 13:26:04 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-675?page=comments#action_12399259 ] 
            
Maxim Areshkau commented on JBIDE-675:
--------------------------------------

I have reproduced this issue. This problem caused  by function VpeVisualDomBuilder.updateElement(Node sourceNode).
In our VPE when we forms visual part we create maps(SourceNode <-> Visual Node).When we editing source node, the source node are changed. 
So we can't get visual node in map to update this, when we can't get visual node, we trying get parent node and update then all children nodes. If parent node is heavy node( like f:view in employee.xhtml) to update this node vpe  need a long time.

> Large JSF file are too slow to handle, making editor useless for them
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-675
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-675
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF, Visual Page Editor
>    Affects Versions: ExadelStudioPro4
>         Environment: Eclipse 3.2.2
> Exadel Studio 4.0.4
> Kubuntu Feisty Fawn
> 1G RAM
> CPU Intel(R) Pentium(R) 4 CPU 2.80GHz, HyperThreading activated
>            Reporter: David Delbecq
>         Assigned To: Sergey Vasilyev
>            Priority: Critical
>             Fix For: 2.1
>
>         Attachments: .classpath, copy_dump.txt, edit_dump1.txt, edit_dump2.txt, editStructure.txt, JBIDE-675.tar.gz, loading_dump.txt, profiling.tar.gz, stacktraces-rhd2b1.log.gz, tree.txt
>
>
> Post to JIRA, following recommandatiopn here: http://jboss.com/index.html?module=bb&op=viewtopic&t=115447
> When editing JSF files That contains quite a lot of include, it take commonly up to 20 seconds for one character i type to get it's way to the screen. I can even see, after 10 seconds, the cursor goes on step right, and after a new 10 second the character appear in front of the cursor. This make it impossible to use JSF editor from exadel to edit such file, i have to ressort to plain xml editor without completion for facelets tags.
> I will be posting attachement containing description of files involved (sorry, no file content).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list