I'd like to profile sections of asp.net code to be able to objectively compare alternate approaches based on some real numbers.
A good example is: I'd like to see an instruction trace for for what happens when a repeater is rendered vs (blech - the following is NOT my idea) building markup in a concatenated string or stringbuilder and emitting to the browser. I'd also like to be able to demonstrate how concatenating strings that grow to 100kB+ effectively requires memory in the amount of double the string length every time you add a character or string to the end.
Are there any such tools available?
Update
There are a couple of good replies here, but nothing that answers the question if how to get an instruction trace.