[Mono-bugs] [Bug 78056][Nor] Changed - XmlDocument.Load
rediculously slow?
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Apr 9 08:08:31 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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78056
--- shadow/78056 2006-04-09 06:09:11.000000000 -0400
+++ shadow/78056.tmp.6009 2006-04-09 08:08:31.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 78056
Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details: 10.4.5, Mono 1.1.13.6
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: INVALID
+Severity: Unknown
Priority: Normal
Component: Sys.XML
AssignedTo: atsushi at ximian.com
ReportedBy: jwiegley at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -44,6 +44,53 @@
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?
John
+
+------- Additional Comments From atsushi at ximian.com 2006-04-09 08:08 -------
+Seems like there is something rediculous in either your code or your
+environment but since your page is 403 we cannot verify it.
+
+atsushi at linux:~/tests/xml> LANG=C wget http://johnwiegley.com/WebRobot.cs
+--20:42:10-- http://johnwiegley.com/WebRobot.cs
+ => `WebRobot.cs'
+Resolving johnwiegley.com... 64.20.38.170
+Connecting to johnwiegley.com|64.20.38.170|:80... connected.
+HTTP request sent, awaiting response... 403 Forbidden
+20:42:12 ERROR 403: Forbidden.
+
+atsushi at linux:~/tests/xml> ls -l test.xml
+-rw-r--r-- 1 atsushi users 9349 2006-04-09 20:39 test.xml
+
+atsushi at linux:~/tests/xml> cat test.cs
+using System;
+using System.Diagnostics;
+using System.Xml;
+
+public class Test
+{
+ public static void Main ()
+ {
+ Stopwatch sw = Stopwatch.StartNew ();
+ XmlDocument doc = new XmlDocument ();
+ doc.Load ("test.xml");
+ sw.Stop ();
+ Console.WriteLine (sw.ElapsedMilliseconds);
+ }
+}
+
+atsushi at linux:~/tests/xml> gmcs test.cs
+atsushi at linux:~/tests/xml> mono test.exe
+344
+
+To determine that the cause must be in XmlDocument, verify
+
+- if the same code for local document is reproducible with XmlDocument
+(like the example above)
+- if the network works fine in general from your box. Run "wget
+http://johnwiegley.com/eshell.html" and see the result.
+- if Socket stream reading itself is not slow.
+
+If you still see something wrong in XmlDocument, feel free to reopen
+this bug.
More information about the mono-bugs
mailing list