[Mono-devel-list] Re: Performance Test

David Jeske jeske at chat.net
Wed Jul 2 00:45:02 EDT 2003


On Tue, Jul 01, 2003 at 07:07:19PM +0200, Paolo Molaro wrote:
> On 07/01/03 David Jeske wrote:
> > (warning, microbenhmarks ahead) I repeated my simple performance test
> > on Mono 0.25 (win32), and I was surprised to find that mini (on
> > windows) core-dumps trying to run the program. It does this whether it
> > was compiled with mcs or csc. mono works fine. All my redhat systems
> 
> Note: the 'mono' binary, both in 0.24 and 0.25 is mini, the new JIT
> compiler. 

My apologies, I accidentally typed "mint" instead of mini, which led
me to mis-speak.  Let me re-state: "mint core-dumps trying to run the
program". I know mint has some issues, is it going to be working again
someday, or is it going to die in favor of encouraging people to port
mini?

The output is below to avoid further confusion. While this is hardly
rigorous enough to draw conclusions, it's interesting that the MCS
compiled program has faster times for index_test, index_string_test,
and nested_test, independent of the JIT it's run on.

-----

C:\neo\scriptperf>csc scriptperf.cs

C:\neo\scriptperf>scriptperf.exe
loop_test   500000 elapsed: 0.02
index_test   1000000 elapsed: 1.663
index_string_test   1000000 elapsed: 0.471
nested_int_test   23 elapsed: 0.01
nested_test   23 elapsed: 0.03
return_test   5000000 elapsed: 0
object_test   5000000 elapsed: 0.05

C:\neo\scriptperf>mono scriptperf.exe
loop_test   500000 elapsed: 0.06
index_test   1000000 elapsed: 3.305
index_string_test   1000000 elapsed: 1.532
nested_int_test   23 elapsed: 0.04
nested_test   23 elapsed: 0.17
return_test   5000000 elapsed: 0.09
object_test   5000000 elapsed: 0.111

C:\neo\scriptperf>mint scriptperf.exe

  (core dump)

C:\neo\scriptperf>mcs scriptperf.cs

C:\neo\scriptperf>scriptperf.exe
loop_test   500000 elapsed: 0.02
index_test   1000000 elapsed: 1.492
index_string_test   1000000 elapsed: 0.44
nested_int_test   23 elapsed: 0.01
nested_test   23 elapsed: 0.021
return_test   5000000 elapsed: 0.01
object_test   5000000 elapsed: 0.05

C:\neo\scriptperf>mono scriptperf.exe
loop_test   500000 elapsed: 0.06
index_test   1000000 elapsed: 3.135
index_string_test   1000000 elapsed: 1.512
nested_int_test   23 elapsed: 0.05
nested_test   23 elapsed: 0.16
return_test   5000000 elapsed: 0.08
object_test   5000000 elapsed: 0.09

C:\neo\scriptperf>mint scriptperf.exe

 (core dump)

-- 
David Jeske (N9LCA) + http://www.chat.net/~jeske/ + jeske at chat.net



More information about the Mono-devel-list mailing list