[Mono-bugs] [Bug 48372][Wis] New - We should remove checkMultipleAttributes code in XmlTextWriter

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 10 Sep 2003 18:33:12 -0400 (EDT)


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 bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=48372

--- shadow/48372	2003-09-10 18:33:12.000000000 -0400
+++ shadow/48372.tmp.8604	2003-09-10 18:33:12.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 48372
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 001 One hour
+Priority: Wishlist
+Component: System.XML
+AssignedTo: ginga@kit.hi-ho.ne.jp                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: We should remove checkMultipleAttributes code in XmlTextWriter
+
+Description of Problem:
+We removed the multiple attribute check triggered by the flag
+checkMultipleAttributes because Microsoft does not do the same. We should
+eliminate the code all together to help performance.
+
+Additional Information:
+While I was profiling XSLT, I saw the following line:
+     625 KB System.String::Concat(string,string)
+         625 KB    24592 System.String                                   
+  Callers (with count) that contribute at least for 1%:
+       24576  99 %
+System.Xml.XmlTextWriter::WriteStartAttribute(string,string,string)
+
+We could conserve this memory if we get rid of the multiple attributes check.