This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | perfomance issue with compile on save "for both app and test" | ||
---|---|---|---|
Product: | projects | Reporter: | mihai <mihai> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
ide log file
Thread dump 1 Thread dump 2 |
Description
mihai
2009-06-09 12:25:14 UTC
tested with 6.7 rc1, I will download 6.7 rc2 to see if it is fixed. Created attachment 83355 [details]
ide log file
Same behavior with 6.7 rc2 Created attachment 83356 [details]
Thread dump 1
Created attachment 83357 [details]
Thread dump 2
How can i increase the log level in netbeans to see what the ide is doing when i am waiting for the run comand to start? logging might not reveal much, better to have threaddump and/or a Alt-Shift-Y takes a profiling snapshot (also in Memory toolbar).. from the threaddumps you've sent it seems the problem could be in copying of resources before the execution. There's a bug filed against the java infrastructure that is deleting all content from the output folder, it should only delete the *.class files. That way we loose all resources from the project and need to copy them before Run/Debug execution. Could it be the case? do you have a vast number of resources to copy? Thank you for your answer! Yes, it is from the resources stuff. What is the issue with the deleting the output folder? I want to vote for that issue. http://hg.netbeans.org/main/rev/ba3eff20b105 I was not able to find the issue and by experimenting with the code I figured it already got fixed, so I've reverted the workaround placed there before. Integrated into 'main-golden', will be available in build *200906111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ba3eff20b105 User: Milos Kleint <mkleint@netbeans.org> Log: #166778 only copy changed resources, not everything. Thank you guys. It is really fast now. The 'main-golden' thing means that we will have this fix in 6.7 ? no, but it might appear in 6.7 bugfix release though. v. The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/873d89b04029 |