Re: [Mono-dev] Mono runtime performance

2005-09-20 Thread Jonathan Pryor
On Tue, 2005-09-20 at 14:09 -0400, Joe Shaw wrote: > Is there a reason why all optimizations aren't on by default? I didn't > see anything in the mono man page, but I suspect there has to be some > tradeoff. There's a time tradeoff -- more optimizations requires more time to JIT the code, slowing

Re: [Mono-dev] Mono runtime performance

2005-09-20 Thread Joe Shaw
Hi Paolo, On Thu, 2005-09-15 at 19:28 +0200, Paolo Molaro wrote: > You need to _run_ it with optimizations enabled: > mono -O=all,-ssapre Benchmark.exe > Building with optimizations enabled has basically no effect. Is there a reason why all optimizations aren't on by default? I didn't see

Re: [Mono-dev] Mono runtime performance

2005-09-19 Thread Paolo Molaro
On 09/14/05 Graeme Geldenhuys wrote: > Anyway, the result was shocking! The mono runtime was about 67% slower than > the microsoft runtime. Anybody know why? I was testing this under Windows It looks like you're easily shocked. After having checked the results, I'm not shocked, though I'm amu

Re: [Mono-dev] Mono runtime performance

2005-09-19 Thread Graeme Geldenhuys
Hi Paolo, I wasn't complaining, just merely stating my findings on my computer. I am new to Mono and .NET and am currently evaluating Mono for a future development project of ours. I wanted to know if I was maybe missing something in my setup of Mono, which could have caused the slowdown.

Re: [Mono-dev] Mono runtime performance

2005-09-19 Thread Paul F. Johnson
HI, > Anyway, the result was shocking! The mono runtime was about 67% slower than > the microsoft runtime. Anybody know why? Without seeing the code, it could be anything. TTFN Paul -- "Logic, my dear Zoe, is merely the ability to be wrong with authority" - Dr Who _

[Mono-dev] Mono runtime performance

2005-09-18 Thread Graeme Geldenhuys
Hi, I came across a article on the net, that compares different languages and there performance (Java, C#, C++, etc..). I thought I would try something simular, but testing the execution speed of the .net runtimes for Microsoft .NET 1.1 and Mono 1.1.8.3 I compiled the C# benchmark application

[Mono-dev] Mono runtime performance (Benchmark.cs code)

2005-09-15 Thread Graeme Geldenhuys
Attached is the code for the Benchmark.cs application... Benchmarks.cs Description: Binary data ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Mono runtime performance

2005-09-15 Thread Paolo Molaro
On 09/14/05 Graeme Geldenhuys wrote: > If you mean the Benchmark.exe must be built with optimizations on, I have > done that. It runs a You need to _run_ it with optimizations enabled: mono -O=all,-ssapre Benchmark.exe Building with optimizations enabled has basically no effect. lupus

Re: [Mono-dev] Mono runtime performance

2005-09-14 Thread Graeme Geldenhuys
If you mean the Benchmark.exe must be built with optimizations on, I have done that. It runs a little bit faster, and on some tests, actually slower, but still not nearly as fast as with the Microsoft .NET framework. I installed Mono from the released builds, I don't compile Mono myself. I w

Re: [Mono-dev] Mono runtime performance

2005-09-14 Thread Gary Smithrud
I would suggest build the Mono version with optimizations on and seeing the performance differences as well. Of course this is not a total surprise, since Mono is newer than .NET and as such the goal should be first to get it right and then to speed it up. On Sep 14, 2005, at 8:18 AM, Grae