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: | Invoking incremental-search-forward took 6,156 ms. | ||
---|---|---|---|
Product: | editor | Reporter: | Jesse Glick <jglick> |
Component: | Painting & Printing | Assignee: | issues@editor <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=154067 | ||
Issue Type: | DEFECT | Exception Reporter: | 154067 |
Attachments: | nps snapshot |
Description
Jesse Glick
2009-07-22 22:58:27 UTC
Created attachment 85093 [details]
nps snapshot
I see DocumentFinder.RegExpBlocksFinder.find as the last NetBeans code that takes 6s. The rest is regexp. Very likely on some really big document. Maybe TextSearchHighlighting should process requests outside of AWT and set the highlights when they are ready. Integrated into 'main-golden', will be available in build *200911030222* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/88fca269ebbb User: Vita Stejskal <vstejskal@netbeans.org> Log: #168999: compute text search highlights asynchronously Reconsider usage of RequestProcessor.getDefault() as it allows parallel execution of all its Runnables. Is that what you want in this case? My guess is that single throughput RP would be better. |