You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Abel Mui?o (JIRA)" <ji...@codehaus.org> on 2006/05/29 13:08:43 UTC

[jira] Created: (MNGECLIPSE-127) Reindexing Local is too expensive to do it on every restart

Reindexing Local is too expensive to do it on every restart
-----------------------------------------------------------

         Key: MNGECLIPSE-127
         URL: http://jira.codehaus.org/browse/MNGECLIPSE-127
     Project: Maven 2.x Extension for Eclipse
        Type: Bug

    Versions: 0.0.7    
 Environment: Laptop with Windows XP, Pentium 4 2.4Ghz, 512Mb
    Reporter: Abel Muiño
 Assigned to: Eugene Kuleshov 
    Priority: Minor


When starting Eclipse with m2 projects on the workspace, the m2 plugin starts "Indexing Local". This makes my laptop almost unusable for several minutes (it is less noticeable on more modern machines).

* index once, keep MD5 (or some other info) about each indexed artifact.
* persist the generated index.
* on restart, check each file. 
** If it is new or its MD5 has changed, reindex that file. 
** Otherwise, use the persisted index.

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


[jira] Closed: (MNGECLIPSE-127) Reindexing Local is too expensive to do it on every restart

Posted by "Eugene Kuleshov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNGECLIPSE-127?page=all ]
     
Eugene Kuleshov closed MNGECLIPSE-127:
--------------------------------------

     Resolution: Fixed
    Fix Version: 0.0.8

Index is already persistent. In version 0.8 indexer skip files that already present in the index, which gives about 10x performance improvement (1s vs 10s to reindex 120Mb local repository).

Once we'll have repositories view, on startup indexing will be disasbled, so you would be able re force reindexing. See MNGECLIPSE-33

> Reindexing Local is too expensive to do it on every restart
> -----------------------------------------------------------
>
>          Key: MNGECLIPSE-127
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-127
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>     Versions: 0.0.7
>  Environment: Laptop with Windows XP, Pentium 4 2.4Ghz, 512Mb
>     Reporter: Abel Muiño
>     Assignee: Eugene Kuleshov
>     Priority: Minor
>      Fix For: 0.0.8

>
>
> When starting Eclipse with m2 projects on the workspace, the m2 plugin starts "Indexing Local". This makes my laptop almost unusable for several minutes (it is less noticeable on more modern machines).
> * index once, keep MD5 (or some other info) about each indexed artifact.
> * persist the generated index.
> * on restart, check each file. 
> ** If it is new or its MD5 has changed, reindex that file. 
> ** Otherwise, use the persisted index.

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