| Summary: | [Import/Export] Import project wizard is slow | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Aaron Digulla <digulla> |
| Component: | IDE | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P5 | CC: | remy.suen |
| Version: | 3.1.1 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
To which "Import Project" are you referring to. There are a couple. Moving to Platform/UI since this is either UI or CVS. I'm refering to "Import from Filesystem/archive file". Approximately how many files are we talking about and how long did it take? I tried importing (from file system) 17,785 files in 3,824 folders and the "Importing: <file path>" message only took on the order of 10 secs to first appear (meaning the files, started importing in about 10 secs). The actual importing of those files took about 3 mins. I'm talking about the three minutes. Try to print fewer filenames in the wizard (either by printing only one name per 1/3 second or by printing just the directories) because the unpacking of the files should need only a few seconds. How did you come to the conclusion that it takes longer to display the file name in the wizard then it does to actually import it into the workspace? I don't think 3 mins to import 17000+ files is slow at all. Actually, that time seems much faster than it takes for Windows to copy that number of files sometimes, or winzip to extract them to a directory. It's from my experience with the TextEditor. And at least on X11, rendering text is quite expensive. May I suggest that you simply disable the text updates and import the files again to see how big the difference would be? I20070503-1400 exhibits the same behaviour. Importing ~1600 files from the filesystem takes much, much longer than copying via the OS. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
When importing a file with many files, the displaying of the import takes longer than the unpacking of the files. I suggest that you don't display every individual file in the wizard but only the directories during the import or that you update the display only three times per second: long now = System.getCurrentTimeMillis(); if (now > nextRun) { ... show current filename ... nextRun = now + 300 }