Sluggish response while editing XML

I'm trying to edit an XML file which is over 10,000 lines long and has
tags nested up to 10-15 levels deep. It uses a custom DTD. Breaking down
the file into smaller chunks is not an option right now.

Entering new tags and editing existing tags is unbearably slow. I type
and see the text appear a second or two later. Performing a Surround
With takes 4 seconds before the <> with replacement blocks appears. Watching the memory usage indicator in the corner while I am typing, it fluctuates from 130M-160M out of 186M. I've recorded and uploaded two CPU usage files: 3401_gtyler_11.07.2005_14.49.15.zip has the Structure pane's Autoscroll to/from Source enabled. 3401_gtyler_11.07.2005_14.51.35.zip has them disabled. Disabling the autoscroll seems to improve the responsiveness of cursor movement but editing is still nowhere near acceptable. Ciao, Gordon -- Gordon Tyler (Software Developer) Quest Software ]]>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

2 comments
Comment actions Permalink

Gordon, can you send me this file. From your snapshots it's not clear
what was going on.

IK
Gordon Tyler wrote:

I'm trying to edit an XML file which is over 10,000 lines long and has
tags nested up to 10-15 levels deep. It uses a custom DTD. Breaking down
the file into smaller chunks is not an option right now.

Entering new tags and editing existing tags is unbearably slow. I type
and see the text appear a second or two later. Performing a Surround
With <tag> takes 4 seconds before the <> with replacement blocks
appears. Watching the memory usage indicator in the corner while I am
typing, it fluctuates from 130M-160M out of 186M.

I've recorded and uploaded two CPU usage files:

3401_gtyler_11.07.2005_14.49.15.zip has the Structure pane's Autoscroll
to/from Source enabled.

3401_gtyler_11.07.2005_14.51.35.zip has them disabled.

Disabling the autoscroll seems to improve the responsiveness of cursor
movement but editing is still nowhere near acceptable.

Ciao,
Gordon

0
Comment actions Permalink

Igor Kuralenok (JetBrains) wrote:

Gordon, can you send me this file. From your snapshots it's not clear
what was going on.


I don't know if I can do that. It's proprietary information and my boss
is currently on vacation.

During both those snapshots I was moving the cursor, deleting and typing
text, copying and pasting and using Surround With . The most obvious delay was when performing Surround With. After selecting it from the popup, the UI would freeze for 3-5 seconds before anything would happen. Ciao, Gordon -- Gordon Tyler (Software Developer) Quest Software ]]>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

0

Please sign in to leave a comment.