Re: Why is C# 450% slower than C++ on nested loops ??

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Joanna Carter [TeamB]" <joanna@xxxxxxxxxxxx> wrote in message
news:OM$Dec$CGHA.748@xxxxxxxxxxxxxxxxxxxxxxx
> "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx> a écrit dans le
> message
> de news: OP9VnO$CGHA.2820@xxxxxxxxxxxxxxxxxxxxxxx
>
> | I know why but I don't care, these benchmarks are clueless and they are
> | broken, compile the C# code with /checked+ (check overflow on) and watch
> the
> | exceptions getting thrown on you.
>
> Can I ask whether these benchmarks were taken from C# code on first run
> (including JITting) or after it has been JITted ? It is only sensible to
> exclude the JIT process if you are comparing execution times as, after the
> first execution, times get a great deal faster due to the code now being
> natively compiled.
>
> Joanna
>
> --
> Joanna Carter [TeamB]
> Consultant Software Engineer
>
>

The timer is started when the function runs so after it's been compiled
(compiling the static di-unction takes less than a millisec. anyway).

Willy.


.



Relevant Pages

  • Re: Why is C# 450% slower than C++ on nested loops ??
    ... compile the C# code with /checked+ and watch ... Can I ask whether these benchmarks were taken from C# code on first run ... exclude the JIT process if you are comparing execution times as, ... Joanna Carter ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Why is C# 450% slower than C++ on nested loops ??
    ... > | I know why but I don't care, these benchmarks are clueless and they are ... > exclude the JIT process if you are comparing execution times as, ... > Joanna Carter ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Reasons to choose CLISP over other free implementations
    ... compiling things, and not only compiling, but a lot of other useful ... your application do not rely very much on arithmetic operations, CLISP ... In those benchmarks, Clisp seems to be slower than ...
    (comp.lang.lisp)
  • Re: AMD-64 systems and Java performance
    ... > Does anyone have any comparisons or benchmarks for compiling and running ... > I'm considering buying an AMD-64 notebook which will run Windows XP Pro. ... The main advantage of 64-bit CPUs on any sane platform is getting access ... never saw any actual benchmarks.. ...
    (comp.lang.java.programmer)
  • Re: RAID Software Experiments
    ... twin RAID is useless --> this for computational heavy stuff such as kernel compiling. ... All I saw were benchmarks of raw throughput reading the entire disk. ... For compiling large packages, where files are spread across the disk, that is far more important than peak read performance. ...
    (comp.os.linux.hardware)