| Summary: | Performance of plugin.xml builder is slow | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Gunnar Wagenknecht <gunnar> | ||||
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse | ||||
| Version: | 3.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Gunnar Wagenknecht
Note thatt binary plug-ins do/should not get validated at all by the PDE builder. That is why you saw a big difference between binary and non-binary projects. That 20 seconds was taken up to validate how many plugin.xml files? what sizes? We do validate every attributes and we do call the Java model to verify that every class you list exists, etc. So if we are dealing with large plugin.xml files, then it might just be that it is a fact of life that it will 20 seconds. 20 seconds just for the one (75k) file. Not to mention the others that it validates. Created attachment 11694 [details]
Screenshot of progress view
This screenshot show the build is verifying plugin.xml of jdt.ui plug-in.
According to you comment, this should not happen because jdt.ui is imported as
binary project (with real content, not with linked content).
However, verifying of jdt.ui plugin.xml (binary project) took 34 seconds which
is a lot more time that the Java build needs for a project of comparable size.
It's also noticable that the progress indicator also stays the same amount of
time at a fixed possition which leads me to say it cann't be just a forgotten
progress monitor update. Don't know.
P4 2.8 Ghz hHyperthreading CPU. The PC is usually fast (example: it only takes
14 second to build a full feature zip with all 3 plugins (around 100 classes)
using the generated build files and ANT (from within Eclipse).
The fact that a binary project was being validated is a bug that was addressed today (bug 65578). I never claimed that the builder's performance is optimal. I was just enquiring how slow it is for you. *** Bug 66198 has been marked as a duplicate of this bug. *** |