On Wednesday 23 April 2008 09:19:47 hlovatt wrote:
> I found a bit more time in the day and worked out how to run the C#
> compiler from the command line. I used the following command:
>
> csc /optimize /out:commandline.exe *.cs
>
> Then when I run commandline I get:
>
> SciGMark 1.0 - C# - specialized
>
> FFT (1024): 388.779673030229
> SOR (100x100):   630.880482605193
> Monte Carlo : 76.1505509057327
> Sparse matmult (N=1000, nz=5000): 576.581135920473
> LU (100x100): 508.721326139402
> PolyMult (N=40): 327.208768923184
> Composite Score: 418.053656254036
>
> Platform Information
> CLR Version: 2.0.50727.1433
> Working Set: 5840896
>
> Which is a considerable improvement over before, but still 1.5 times
> slower than Java. However on a personal note; I don't usually bother
> optimising further when I get within a factor of 2, so I would say
> that C# is fast enough.

On my machine, this benchmark is only 17% faster in Java for the small 
problems and 0.04% faster for the large problems. That is well within the 
variation between individual tests, the largest of which is the CLR being 
2.44x faster on the polynomial multiplication test.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to