[Mono-bugs] [Bug 76400][Nor] Changed - DateTime.Parse allocates 17
kb / call
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Oct 10 18:27:28 EDT 2005
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 at users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76400
--- shadow/76400 2005-10-10 18:25:08.000000000 -0400
+++ shadow/76400.tmp.16089 2005-10-10 18:27:28.000000000 -0400
@@ -58,6 +58,30 @@
Another patch.
------- Additional Comments From bmaurer at users.sf.net 2005-10-10 18:25 -------
This patch caches the result to GetAllDateTimePatterns, resulting in a
1 2/3rds reduction in time for DateTime.Parse.
+
+------- Additional Comments From bmaurer at users.sf.net 2005-10-10 18:27 -------
+With this patch we allocate .8 kb /call,
+
+########################
+ 468 KB
+Mono.Globalization.Unicode.SimpleCollator::IndexOf(string,string,int,int,CompareOptions)
+ 468 KB 24000 System.Byte[]
+ Callers (with count) that contribute at least for 1%:
+ 8000 100 %
+System.Globalization.CompareInfo::internal_index_managed(string,int,int,string,CompareOptions,bool)
+########################
+ 273 KB
+Mono.Globalization.Unicode.SimpleCollator::Compare(string,int,int,string,int,int,CompareOptions)
+ 273 KB 14000 System.Byte[]
+ Callers (with count) that contribute at least for 1%:
+ 7000 100 %
+System.Globalization.CompareInfo::internal_compare_managed(string,int,int,string,int,int,CompareOptions)
+########################
+ 93 KB System.CurrentTimeZone::GetDaylightChanges(int)
+ 93 KB 8002 System.Int32
+ Callers (with count) that contribute at least for 1%:
+ 3000 75 % System.TimeZone::IsDaylightSavingTime(DateTime)
+ 1000 25 % System.TimeZone::ToLocalTime(DateTime)
More information about the mono-bugs
mailing list