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.

Bug 227644 - org.netbeans.modules.localhistory.LocalHistory$OpenedFilesListener.getFiles: LowPerformance took 25302 ms.
Summary: org.netbeans.modules.localhistory.LocalHistory$OpenedFilesListener.getFiles: ...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Localhistory (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-03-19 00:12 UTC by felipe_mir
Modified: 2013-06-05 09:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 183347


Attachments
nps snapshot (12.57 KB, application/nps)
2013-03-19 00:13 UTC, felipe_mir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description felipe_mir 2013-03-19 00:12:56 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows Vista

User Comments:
felipe_mir: O computador estava abrindo o navegador de internet (nome da navegador: Google Chrome). Quando percebi o decrecimo de velocidade abri o monitor de desempenho e percebi que o aplicativo NetBeans IDE 7.3 estava utilizando entre 100mb e 200mb de minha mem
Comment 1 felipe_mir 2013-03-19 00:13:01 UTC
Created attachment 132773 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2013-03-19 09:24:04 UTC
looking at the snapshot #662153 it looks AWT is stuck in LocalHistory.getFiles(TopComponent) and busy with normalizing files. Not sure but maybe the method can be optimized and work directly with paths obtained from FileObjects and avoid converting FOs to Files.
Comment 3 Tomas Stupka 2013-06-04 14:40:57 UTC
fixed in core-main #2402ab857b90
Comment 4 Quality Engineering 2013-06-05 09:37:14 UTC
Integrated into 'main-golden', will be available in build *201306050626* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2402ab857b90
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #227644 - org.netbeans.modules.localhistory.LocalHistory$OpenedFilesListener.getFiles: LowPerformance took 25302 ms.