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.netbeans.modules.tasklist.ui.TaskListModel.getRowCount: LowPerformance took 33250 ms. | ||
---|---|---|---|
Product: | platform | Reporter: | marcoancoro |
Component: | Action Items | Assignee: | Jan Peska <JPESKA> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arief.setiawan, kiroff |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 186873 |
Attachments: | nps snapshot |
Description
marcoancoro
2013-02-06 19:29:04 UTC
Created attachment 131070 [details]
nps snapshot
Reassigning to tasklist. There is some place for improvement in TaskList class. ArrayList can be replaced by HashMap in setTasks() to speed up contains() and LinkedList(s) can be replaced by ArrayList(s). Integrated into 'main-golden', will be available in build *201302222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/021a121bbfaa User: Jan Peska <JPESKA@netbeans.org> Log: Issue #225812 - org.netbeans.modules.tasklist.ui.TaskListModel.getRowCount: LowPerformance took 33250 ms. Performance changes. Replace ArrayList by HashSet due to performance issue when calling contains method. Also replace some LinkedLists by ArrayLists - faster iteration. |