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: | [70cat] LowPerformance took 27031 ms. | ||
---|---|---|---|
Product: | platform | Reporter: | Michel Graciano <hmichel> |
Component: | -- Other -- | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlahoda, ovrabec |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 175756 |
Attachments: | nps snapshot |
Description
Michel Graciano
2011-01-11 23:20:57 UTC
Created attachment 104896 [details]
nps snapshot
fixed versioning part: http://hg.netbeans.org/core-main/rev/2aff3af041c8 passing to the owner of another blocking code The three biggest contributors to the slowness are DiffSideBar, ComponentPeer and TodoAnnotationProvider, and in all cases the time is spent almost solely in RequestProcessor$Task.schedule, mostly in construction of the debugging stacktrace. Typically we handle such reports by disabling the stack traces for the given RP (I did that myself several times already). While I understand that the stack trace may be useful for debugging in some cases, I wonder if this approach is correct: as we disable the stack traces, the usefulness of the debugging code is vanishing as less and less RPs use it. (Note that even if the stack traces are taken only with assertions enabled, bug reports like this one count and need to be evaluated as any other bug report.) Basically, the question is whether we: 1. try to make the debugging code less intrusive, even at the cost of making it less useful. E.g. by enabling it only when a specific command line is given, or by using some other heuristic described in: http://netbeans.org/bugzilla/show_bug.cgi?id=165862#c8 2. continue with our current approach, making the debugging code completely irrelevant eventually If the choice is 2, please pass this bug back to me, I will disable the creation of stack traces in places that I maintain. Integrated into 'main-golden', will be available in build *201101130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2aff3af041c8 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #194234 - [70cat] LowPerformance took 27031 ms No new duplicate reports since the fix. Closing. |