[
https://jira.jboss.org/browse/JBIDE-7021?page=com.atlassian.jira.plugin.s...
]
Max Andersen commented on JBIDE-7021:
-------------------------------------
Alexey wrote:
Here are results of my yesterday researching:
The slowest our validators are XHTML Syntax validator and JSF EL Validator.
But for different kinds of validators they work differently.
For example on my machine with a project with more than 1500 xhtmls without any ELs (more
than 1000 lines in each file, 30% xhtml tags and 70% html):
JBT XHTML Syntax validator takes ~ 1 minute.
WTP HTML Syntax validator takes ~ 2 minutes.
JBT JSF EL Validator takes ~ 1 minute (there is not any EL but it takes one minute to
create pages contexts first time).
If we add about 40 EL in every XHTML page (four-level ELs like #{bean.x().y().z()}. So
the project has more than 60 000 complex ELs:
JBT XHTML Syntax validator takes ~ 1 minute.
WTP HTML Syntax validator takes ~ 2 minutes.
JBT JSF EL Validator takes ~ 15 minutes.
Max comments:
k - so why is this suddenly taking 15 minutes ? :)
Is it our EL parser ?
Our EL context lookup s ?
Our validation against seam/java model ?
Alexey comments:
Needs further investigation. But I don't think it's our EL parser or EL context
lookup (they work fast in other validators/features). I guess the slowest part is how we
work with java model. We use some cash there. But anyway for really big project it's
not fast enough.
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.Beta
Reporter: Maxim Areshkau
Assignee: Maxim Areshkau
Fix For: 3.3.x
#1 import project
https://svn.jboss.org/repos/jbosstools/trunk/jsf/tests/org.jboss.tools.js...
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