[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
Wed Mar 12 10:59:58 EDT 2008


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

Test for loading a large Seam Project added:

Test checks that loading Seam model does not depend as N*N on the number of components N.
It works as follows:
1. Copy project template to workspace and import it.
2. Create N=1000 java files with seam components in the project and refresh it.
3. Reload Seam model and compute times T1 and T2 needed 
   to process first K=200 files and last K=200 files.
4. Test fails if T2 is 3 or more times larger than T1, 
    which positively implies N*N dependency.  


> 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