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 35417 - [performance] Indentation has severe performance issues over large text files
Summary: [performance] Indentation has severe performance issues over large text files
Status: CLOSED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2003-08-13 16:05 UTC by iformanek
Modified: 2004-08-23 15:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2003-08-13 16:05:47 UTC
Working with XML file with 1700 lines of text.
Pressing CTRL+D over the entire text selected results in 
about 2 minutes complete freeze of the UI.
Comment 1 Miloslav Metelka 2004-01-22 10:48:20 UTC
The xml indentation is handled by
org.netbeans.modules.xml.text.indent.XMLIndentEngine
so transferring to xml module for evaluation.
Comment 2 Petr Pisl 2004-02-12 17:16:48 UTC
Hi,

I tried it with big xml file that has 4200 lines and I'm not able to
reproduce it in neither 3.6 nor 3.5. I select whole text (CTRL+A) and
then press CTRL+D. It takes 10 seconds in 3.5 and in 3.6 2 seconds.

Do you have still this problem. Are you able to reproduce it in 3.6?
If yes, please attach the xml file or write up the steps how
reproduce. Which configuration had your computer?

Thanks
Comment 3 iformanek 2004-02-12 18:17:08 UTC
Hmm, cannot seem to be able to reproduce in 3.6
In 3.5.1 I am also getting 10 seconds now, not sure what changed.
Looks much better in 3.6.

I'd agree with closing this bug as Invalid if this is what you suggest.
Comment 4 Petr Pisl 2004-02-13 14:30:50 UTC
According the last comment I mark this issue as invalid.
Comment 5 dmladek 2004-08-23 15:48:23 UTC
closing it.....