[Mono-bugs] [Bug 59537][Nor] Changed - improve NameTable performance
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 16 Sep 2004 03:15:37 -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 atsushi@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=59537
--- shadow/59537 2004-09-16 03:00:23.000000000 -0400
+++ shadow/59537.tmp.29764 2004-09-16 03:15:37.000000000 -0400
@@ -558,6 +558,43 @@
http://weblogs.asp.net/NUnitAddin/
Sorry but I cannot provide more information on that matter. Currently
I have no VS.NET 2003 installation.
Will post a followup on performance issue.
+
+------- Additional Comments From atsushi@ximian.com 2004-09-16 03:15 -------
+I tried my performance testcase posted above here:
+http://primates.ximian.com/~atsushi/tmp/59537/
+
+---- Old code ----
+
+Total time spent compiling 587 methods (sec): 0.28
+Slowest method to compile (sec): 0.02:
+System.MonoType::InvokeMember(string,Bind
+ingFlags,Binder,object,object[],ParameterModifier[],CultureInfo,string[])
+Time(ms) Count P/call(ms) Method name
+########################
+ 1281.000 1 1281.000
+System.Object::runtime_invoke_void(object,intptr,i
+ntptr,intptr)
+ Callers (with count) that contribute at least for 1%:
+
+Total memory allocated: 6886 KB
+
+---- new code -----
+
+Total time spent compiling 597 methods (sec): 0.251
+Slowest method to compile (sec): 0.02:
+System.MonoType::InvokeMember(string,Bind
+ingFlags,Binder,object,object[],ParameterModifier[],CultureInfo,string[])
+Time(ms) Count P/call(ms) Method name
+########################
+ 842.000 1 842.000
+System.Object::runtime_invoke_void(object,intptr,int
+ptr,intptr)
+ Callers (with count) that contribute at least for 1%:
+
+Total memory allocated: 7615 KB
+
+- so looks it actually eats more memory than it used to (the speed
+improvement is so big though).