[Mono-devel-list] Integer and Floating point formatters

Atsushi Eno atsushi at ximian.com
Sun Jan 30 04:53:59 EST 2005


Hey,

So I ran "mono --profile nunit-console.exe
/fixture:MonoTests.System.Int32 corlib_plattest.dll" and the result was:

old: Total memory allocated: 3158 KB
new: Total memory allocated: 3871 KB

http://monkey.workarea.jp/tmp/20050130/perf-original.txt
http://monkey.workarea.jp/tmp/20050130/perf-kazuki.txt

The new one is not good. Some of the performance loss looks however
because the new one is much more strict than old one (calling
Int32.FindSign() more than it used to do). I think the code could
be optimized.

I wonder which is better: buggy or slow.

Atsushi Eno


Ben Maurer wrote:
> On Sat, 2005-01-29 at 09:29 +0900, Kazuki Oikawa wrote:
> 
>>Hi.
>>
>>I made formatter class that integrated functions of IntegerFormatter and
>>FloatingPointFormatter.
>>
>>If you build Mono with this class.
>>please invalidate IntegerFormatter and FloatingPointFormatter.
>>This class include IntegerFormatter and FloatingPointFormatter wrapper.
> 
> 
> Do you have any benchmarks from the new version? I am especially
> interested in common path integer formatting (very especially
> int.ToString ()).
> 
> -- Ben
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 




More information about the Mono-devel-list mailing list