[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1785) Build results should be stored to be loaded when Eclipse restarts

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Mar 6 13:07:01 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1785?page=comments#action_12401637 ] 
            
Viacheslav Kabanovich commented on JBIDE-1785:
----------------------------------------------

I have found that presently at starting a large Seam Project, time is mostly spent 
for searching objects within Seam model - 50% for a project with 1000 components 
and 90% for a project with 5000 components. 
I have optimized searching methods used at Seam model loading, 
after that starting for a project with 5000 components is accelerated 10 times, 
and even full rebuild is accelerated about 3 times. 
Even now, reading/parsing XML takes only 10% time in starting serialized 
Seam model (about 2 seconds). So, using binary serialization may 
now give only small acceleration. I will commit my optimization 
(to be followed by tests asap) and continue studying what can be done for 
further acceleration.


> Build results should be stored to be loaded when Eclipse restarts
> -----------------------------------------------------------------
>
>                 Key: JBIDE-1785
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1785
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Seam
>    Affects Versions: 2.0.0.GA
>            Reporter: Viacheslav Kabanovich
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.1
>
>   Original Estimate: 1 week
>  Remaining Estimate: 1 week
>
> Currently, each time Eclipse starts, all java and xml files that had contributed to Seam model, are parsed to restore it. 
> Parsing takes a lot of time, a project with 1000 components takes 2 - 3 minutes to handle. We may not be able to improve it when full rebuild of project is selected, but we need to avoid that waste of time when once obtained build results are to be picked up by model at start. 
> I propose to serialize parsed seam component declarations into xml file (which is now used just to keep paths of files that contribute to seam model). It is better to keep xml human-readable, so that it is easier to solve problems, especially that may arise at future modifications to Seam model.
> Testing will include iteration on seam component declaration in just built Seam project, each one serialized, deserialized, and compared to the original to assert that no changes occurred.

-- 
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