History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17196
Type: Performance Problem Performance Problem
Status: Waiting for Reply Waiting for Reply
Assignee: Alexey Kudravtsev
Reporter: Dimitar Dimitrov
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Performance problem when reformatting XML file

Created: 19 Feb 08 09:47   Updated: 03 Mar 08 18:35
Component/s: XML editing

File Attachments: 1. Zip Archive highlighting-off.zip (4.43 Mb)
2. Zip Archive highlighting-on.zip (2.19 Mb)
3. Zip Archive IntelliJIDEA-2008-02-19.zip (2.15 Mb)

Environment:
Intel Core 2 @1.80Ghz
-Xms32m
-Xmx512m
-XX:MaxPermSize=120m

Build: 7,963
Severity: Medium


 Description  « Hide
Idea took nearly 10 minutes to reformat an 8600 line XML file. This is weird, considering that the depth of the document is 5 levels at the deepest point.

 All   Comments   Work Log   Change History      Sort Order:
Maxim Mossienko - 19 Feb 08 12:46
your snapshot has no traces of reformat but only brace highlighting stuff that you can switch off. Please, start getting snapshot before reformat and finish after.

Dimitar Dimitrov - 22 Feb 08 12:50 - edited
I repeated the experiment and here are the results with and without highlighting (the second time the inspector has turned it's back on me)

I noticed that IDEA actually relay-outs the XML in less than 20 secs, but then it spends minutes matching braces (that's why I took 2 snapshots the second time).