[Mono-list] Performance of Mono 2.10 vs. Mono 3.0
Charles Esterbrook
Charles at charles-esterbrook.com
Sun Jan 20 03:11:02 UTC 2013
I got this down from about 50,000 lines to 62. :-)
The attached standalone C# program runs 38.9% slower on Mono 2.10.10
than on Mono 2.10.9 on my Mac OS X 10.6.8 box. Anyone else?
If the attachment doesn't come through, it's also on the bugzilla ticket.
The program is nonsensical. It just does some reflection and builds up
lists, sets and dictionaries.
$ mono --version
Mono JIT compiler version 2.10.9 (tarball Mon May 7 20:25:51 EDT 2012)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors.
www.mono-project.com
TLS: normal
SIGSEGV: normal
Notification: kqueue
Architecture: x86
Disabled: none
Misc: debugger softdebug
LLVM: yes(2.9svn-mono)
GC: Included Boehm (with typed GC)
$ mono benchmark.exe
elapsed: 2045
$ mono benchmark.exe
elapsed: 2043
$ mono benchmark.exe
elapsed: 2046
$ mono --version
Mono JIT compiler version 2.10.10 (mono-2-10/4d9ada6 Wed Nov 28
22:38:28 EST 2012)
Copyright (C) 2002-2012 Novell, Inc, Xamarin, Inc and Contributors.
www.mono-project.com
TLS: normal
SIGSEGV: normal
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(2.9svn-mono)
GC: Included Boehm (with typed GC)
$ mono benchmark.exe
elapsed: 2838
$ mono benchmark.exe
elapsed: 2868
$ mono benchmark.exe
elapsed: 2840
Taking the middle values, the slow down is 2045 -> 2840 or 38.9%.
I'm looking forward to hearing what this was caused by.
--
Charles Esterbrook
http://charles-esterbrook.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benchmark.cs
Type: application/octet-stream
Size: 1317 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130119/6451fd90/attachment.obj>
More information about the Mono-list
mailing list