[Mono-bugs] [Bug 78056][Nor] New - XmlDocument.Load rediculously slow?

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Apr 9 06:09:11 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jwiegley at gmail.com.


--- shadow/78056	2006-04-09 06:09:11.000000000 -0400
+++ shadow/78056.tmp.4091	2006-04-09 06:09:11.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 78056
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 10.4.5, Mono
+Status: NEW   
+Priority: Normal
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: jwiegley at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: XmlDocument.Load rediculously slow?
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+I'm starting work on a web robot, which source is at:
+  http://johnwiegley.com/WebRobot.cs
+I build this to a test executable using:
+  gmcs -out:WebRobot.exe WebRobot.cs
+I run it against eshell.html, which may be downloaded from the same server:
+  http://johnwiegley.com/eshell.html
+So, I'm running:
+  mono WebRobot.exe eshell.html
+As you'll see from the output, steps 1-6 run almost instantly.  (Oh, you have to have Tidy 
+installed on your system to run this test.  It's converting the HTML file into XHTML.  If you have 
+an XHTML file already, I suppose you can skip my code altogether and write your own test driver 
+to invoke XmlDocument.Load.)
+Anyway, on my operating system the call to XmlDocument.Load takes 27-30 seconds (!!!!) for an 
+XHTML file that is only 137 lines long!!  I just couldn't believe it, I was sure something was 
+happening with the process invocation, but this happens after the process is done and exited.
+Any idea what's going on?

More information about the mono-bugs mailing list