History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16242
Type: Performance Problem Performance Problem
Status: Open Open
Assignee: Maxim Shafirov
Reporter: Gibson
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Compile still takes about 10seconds, even if hardly anything changed

Created: 08 Nov 07 13:56   Updated: 08 Nov 07 18:12
Component/s: Compiling Project

File Attachments: 1. Zip Archive 7531_rgibson_08.11.2007_11.48.50.zip (2.17 Mb)
2. Zip Archive 7531_rgibson_08.11.2007_11.56.46.zip (1.70 Mb)
3. Zip Archive 7531_rgibson_08.11.2007_11.57.28.zip (1.71 Mb)


Build: 7,531


 Description  « Hide
When I run Make Project the dialog box seems to show three stages:
1) No status text and the progress bar doesn't move (can take 8-9 seconds)
2) "Searching for files to delete" (quick)
3) Compile class (quick)
4) Post-compile steps (quick)

What's happening in that first step? Can it be optimised any? I attach a snapshot from the compile of a single class where the 1st step took about 6-7 seconds. Total compile time was about 12 second. This after the project had been open a while and compiled a few times.



 All   Comments   Work Log   Change History      Sort Order:
Gibson - 08 Nov 07 13:58
Sometimes the first step is very quick (see second attachment)

Gibson - 08 Nov 07 14:00
And the third attachment shows the first step taking about 7-8 seconds, just after the 2nd snapshot was taken with no files changed. (Snapshots 2 and 3 were taken with a smaller Xmx in case that made a difference.)

Dmitry Jemerov - 08 Nov 07 18:12
This first step is VFS synchronization - IntelliJ IDEA waits for the background VFS refresh to complete before the make can start.