What is the normal time to build 'Directory index'?

I have following entries in my idea.log (during new project creation):

2011-09-15 14:15:33,363 [69643678]   INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 371968 ms
2011-09-15 14:15:47,818 [69658133]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 14255 ms
2011-09-15 14:15:47,818 [69658133]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 119754 files to update
2011-09-15 14:26:16,546 [70286861]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 628728 ms



DirectoryIndexImpl seems to build directory information, package to directory information. I guess this should be very minimal compared to actual indexing operation.
In this example: Directory index initialization took 371 seconds, where as indexing took 628 seconds. Is this normal or do I need to investigate further why it is taking so much time.

Thanks,
Chandra
2 comments
Comment actions Permalink

Hello chandra,

This is excessively long. Initializing the index for the IntelliJ IDEA project
on my machine takes less than 1.5 seconds.

I have following entries in my idea.log (during new project creation):

2011-09-15 14:15:33,363    INFO -
.roots.impl.DirectoryIndexImpl - Directory index initialized in 371968
ms 2011-09-15 14:15:47,818    INFO -
indexing.UnindexedFilesUpdater - Indexable files iterated in 14255 ms
2011-09-15 14:15:47,818    INFO -
indexing.UnindexedFilesUpdater - Unindexed files update started:
119754 files to update 2011-09-15 14:26:16,546    INFO -
indexing.UnindexedFilesUpdater - Unindexed files update done in 628728
ms

DirectoryIndexImpl seems to build directory information, package to
directory information. I guess this should be very minimal compared to
actual indexing operation.

In this example: Directory index initialization took 371 seconds,
where as indexing took 628 seconds. Is this normal or do I need to
investigate further why it is taking so much time.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

It's too long. Could you take a CPU snapshot for that?

0

Please sign in to leave a comment.