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: | org.openide.text.DataEditorSupport.openDocument: LowPerformance took 21403 ms. | ||
---|---|---|---|
Product: | editor | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | CSL (API & infrastructure) | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | jwh, sdedic |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 201048 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2013-08-07 06:41:32 UTC
Created attachment 138380 [details]
nps snapshot
Method o.n.m.csl.api.UIUtils.open() calls NbDocument.openDocument() in EDT. Maybe it's not necessary, according to javadoc in NbDocument. Reassigning. Please evaluate, thank you. Note: I've used exception report 674276, 685074 seems unrelated. It would be easy if it was not in the API and did not return success status. Because of the definition, it needs to block until the document opens. I recommend to deprecate the method, and define a method that returns Future<Document> that can be waited on, if needed. Disk operations are slow on your computer, probably many processes working with disk. java.io.FileInputStream.open[native]() 99.679985 3,459 ms (99.7%) 3,459 ms |