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 251562 - org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.<init>: LowPerformance took 21790 ms.
Summary: org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.<init>: LowPerf...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-04-01 13:49 UTC by Exceptions Reporter
Modified: 2016-08-27 02:19 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 213028


Attachments
nps snapshot (100.58 KB, application/nps)
2015-04-01 13:49 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-04-01 13:49:29 UTC
This issue was reported manually by thurka.
It already has 52 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 8

User Comments:
GUEST: ESTA TABULANDO CODIGO

GUEST: replace

GUEST: some times

GUEST: very slow!!

GUEST: working in a file with 8000 lines of code. I had selected about 150 lines and was using tab and shift+tab to align the code. Every tab takes about 40 seconds to complete.

GUEST: low performance when expanding code snipplet collapsed.

GUEST: Netbeans is not working faster as required to work

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: <Slowness detected problem ! please solve it.>

arboshiki: Regexp replacing took much time

GUEST: It gets too slow while working with yii framework. For example if i move cursor while holding ctrl key, it gets too slow. The ctrl key skips letters and moves from one variable to another. NetBeans tries to find the root instance of the variable while holding the ctrl key. I think thats why it gets so slow. And also while applying user defined Code Templates, it gets too slow. 

This is my favourite IDE and because of these slowness issues. I might move on to some other IDE.

Kindly fix these issues.

GUEST: Slowness

GUEST: Adjusting indentation of code use shift + tab

GUEST: CTRL SHIFT F with incorrect indentation

miguelom991: I have problems to write my code because Netbeans stops lots of times even leaves to work

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: ??ionic?controllers.js????2????

GUEST: I just idented 148 lines using SHIFT + TAB and this slowed down, taking about 50% of my CPU and Memory

GUEST: I was shift-tabbing some js come to remove some indetation

GUEST: freeze

GUEST: Identing a bad php file with 1500 lines.

GUEST: netbeans bears always time outs like that without any reason

GUEST: just used shift+tab to format 100 lines of code

GUEST: Simply had 136 lines of code selected and was doing a block tab indent

GUEST: Lentid
Comment 1 Exceptions Reporter 2015-04-01 13:49:34 UTC
Created attachment 152977 [details]
nps snapshot
Comment 2 Svata Dedic 2016-08-11 15:35:46 UTC
Should be fixed by jet-main#70e57f851804
Comment 3 Quality Engineering 2016-08-27 02:19:09 UTC
Integrated into 'main-silver', will be available in build *201608270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/70e57f851804
User: Svata Dedic <sdedic@netbeans.org>
Log: #245762, #251562: diagnostics changed; no snapshot should be created eagerly, damaged flag reset after rebuild