[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7021) Low perfomance of validation for web pages

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon Sep 27 06:21:28 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-7021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12553373#action_12553373 ] 

Snjezana Peco commented on JBIDE-7021:
--------------------------------------

The problem that you are talking about:

> 1.) We clean up the page context cache too often. For example if any validator creates a marker on the resource then we remove this
> resource from the cache. I removed PageContextFactory from resource listeners to fix this problem. KB project will clean the cache up
> if it's really needed. (Fixed for Beta1) 

is the same problem that I already described in my previous comment. ( point 2 - ValidationErrorManage.addError(...) creates markers).
However, you have commented the lines 347-386 in PageContextFactory which causes the SSE model to be unnecessary created for non-facelet pages (described in point 1 of my previous comment). validation of a project containing a lot of non-facelet pages (pages.xml, *.jsps, *.xml ...) will be slower.

> Low perfomance of validation for web pages
> ------------------------------------------
>
>                 Key: JBIDE-7021
>                 URL: https://jira.jboss.org/browse/JBIDE-7021
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.2.0.Beta1
>            Reporter: Maxim Areshkau
>            Assignee: Alexey Kazakov
>             Fix For: 3.2.0.Beta1
>
>         Attachments: jbide7021.patch
>
>
> #1 import project https://svn.jboss.org/repos/jbosstools/trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest into workspace;
> #2 try to call validate on jsfTest/WebContent
> #3 it takes about 60-90 seconds to validate this folder whith JBoss Tools plugins and 7-13 seconds without JBoss Tools just with WPT installed.
> So looks like we need to do smth for speeding up the validation process.
>  

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

        


More information about the jbosstools-issues mailing list