| Summary: | Critical performance problem related to server / publish info | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | Fabrizio Giustina <fgiust> | ||||
| Component: | wst.server | Assignee: | wst.server <wst.server-inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | blocker | ||||||
| Priority: | P3 | ||||||
| Version: | 0.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Fabrizio Giustina
if for any reason you need an example of a web application project with this problem you can checkout http://svn.magnolia.info/svn/magnolia/branches/magnolia2.1/ If you have maven installed, you can run "maven eclipse" in order to generate eclipse project descriptors and .wtpmodules files. some more info/tests (the performance problem seems not related only to publish info): - after restarting eclipse everything works fine & fast - after starting and stopping a server everything is slow till a restart of eclipse (also if the server is started once and immediately stopped) test case: - open eclipse, start and stop a server - open a sample file (txt file), modify it and press ctrl+s: cpu to 100% for 3-5 seconds before save is perfomed (always reproducible) - open the .wtpmodules file and comment ut all the content: try the same operation as before and save is now immediate, without any impact on cpu. - decomment .wtpmodules and try again: same as before, saving is slow and it takes out a lot of cpu this always works, commenting/decommenting .wtpmodules enables or disables performance immediately... Created attachment 27836 [details]
sample .wtpmodules file
this is the .wtpmodules file from a project which has this performance problem
... and this is the line in .wtpmodules that actually triggers the performance loss:
<!--
<wb-resource deploy-path="/" source-path="/src/webapp">
</wb-resource>
-->
/src/webapp for this project contains 1.648 files and 275 folders, 5.92 MB in
total (does it mind? I'm just saving a text file)
This appears to be a dup of 105190, which is fixed in M9 HEAD and should be in this week's I-build. *** This bug has been marked as a duplicate of 105190 *** This bug was moved to 'closed' state, since it is so old and since it is a dup, worksforme, invalid bug that its unlikely to still be useful or need further attention. Feel free to re-open, or open a new bug, if this semi-automatic processing was done in error. |