Re: Why is C# 450% slower than C++ on nested loops ??
- From: "Peter Olcott" <olcott@xxxxxxx>
- Date: Wed, 28 Dec 2005 15:58:35 -0600
"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.
It must have been after the JIT, because C# beat C++ on some things, just not
the nested loops. The author of the link would know relatively obvious things
such as this.
>
> Joanna
>
> --
> Joanna Carter [TeamB]
> Consultant Software Engineer
>
>
.
- Follow-Ups:
- Re: Why is C# 450% slower than C++ on nested loops ??
- From: Anders Borum
- Re: Why is C# 450% slower than C++ on nested loops ??
- References:
- Why is C# 450% slower than C++ on nested loops ??
- From: Peter Olcott
- Re: Why is C# 450% slower than C++ on nested loops ??
- From: Willy Denoyette [MVP]
- Re: Why is C# 450% slower than C++ on nested loops ??
- From: Joanna Carter [TeamB]
- Why is C# 450% slower than C++ on nested loops ??
- Prev by Date: Re: Figuring out what dlls another dll requires
- Next by Date: Re: Animation and windows progs
- Previous by thread: Re: Why is C# 450% slower than C++ on nested loops ??
- Next by thread: Re: Why is C# 450% slower than C++ on nested loops ??
- Index(es):
Relevant Pages
|
Loading