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 220664 - XDM loads document line by line
Summary: XDM loads document line by line
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: XDM (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: PERFORMANCE
Depends on: 213435
Blocks:
  Show dependency tree
 
Reported: 2012-10-23 12:12 UTC by Exceptions Reporter
Modified: 2012-10-26 01:29 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193949


Attachments
nps snapshot (37.20 KB, application/nps)
2012-10-23 12:13 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-10-23 12:12:58 UTC
This issue was reported manually by sdedic.
It already has 6 duplicates 


Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
GUEST: I get slow code completion in XML file. When i describe DTD in that xml.

xylifyx: editing pom



Maximum slowness yet reported was 6270 ms, average is 3841
Comment 1 Exceptions Reporter 2012-10-23 12:13:03 UTC
Created attachment 126392 [details]
nps snapshot
Comment 2 Svata Dedic 2012-10-23 12:22:40 UTC
Each line is inserted separately into the swing document, which causes multiple processing like spellcheck, lexing etc. 
Larger buffers should be used to load the document.
Comment 3 Svata Dedic 2012-10-25 06:25:59 UTC
Fixed in http://hg.netbeans.org/jet-main/rev/f6e82de95031
Comment 4 Quality Engineering 2012-10-26 01:29:14 UTC
Integrated into 'main-golden', will be available in build *201210260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f6e82de95031
User: Svata Dedic <sdedic@netbeans.org>
Log: #220664: base document loads the contents directly and whole, not individual lines