Re: Managed vs Unmanaged Bare Bones Performance Test



[Snip All]

This has been done a huge number of times, by a wide variety of people. In
just about every case, it's turned out performance is surprisingly equal.
There are occasionally some very subtle things that go on though, that make
what looks like an "apples to apples" test turn out now to be the case.

For example:
http://www.wintellect.com/cs/blogs/jeffreyr/archive/2004/11/13/field-access-versus-local-variable-access-performance.aspx

As someone who writes high performance code for s living, I can also say
that "bad performing code" is generally a red-herring. There are typically
very few spots in any given program that are truly performance bottlnecks,
and the only way to find these is to use a good profiler.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins


.



Relevant Pages

  • Re: Back in the jug :-(
    ... Snip ... I haven't been on an official tour but what I have seen was fascinating. ... Water from the stream was run down the gully nearest to the required apples & ... He told me the farmer loading the muck spreader was Mr Weston who only attended ...
    (uk.rec.engines.stationary)
  • Re: f**king mouse
    ... was 1 Planck length (or whatever the granularity size is these days) ... But even mathematics is man made. ... I have had apples in the ...
    (uk.misc)
  • Re: OT a bit - anything special for holiday meal?
    ... One of the old variety of apples I like but managed to miss this year ... > A retired oncologist near me has gotten into heritage apples big time. ... He has spent a small fortune on keeping his apple juice ... > aussie wine. ...
    (alt.coffee)
  • Re: Foods that arent as good as they used to be
    ... There's a fairly recent variety of apple in NZ, ... we have to make do in shops with last season's cold storage apples. ... Don't get me on the subject of exports. ... trying to plug it as a better fruit but to my taste it isn't. ...
    (rec.food.cooking)
  • Re: Apple Tree From Seed in Mid-Atlantic
    ... Apples are grown on rootstock so that the rootstock ... When you plant the seeds you get the variety of apple on that trees ... variety you want and buy a tree from an nursery or supplier. ...
    (rec.gardens)