We already have a license for ANTS and for our day-to-day profiling we’re pretty happy with it.
However what we are interested in is profiling of unit tests on an integration server. So for instance we use TeamCity/Nunit and we’d like to be able to run unit tests to highlight a block of code and have the unit test fail if the number of cpu cycles for the block of code increases by more than x percent.
So for example:
For(int i=0; I < 10000000; i++
long numberOfCPUCycles = SpeedTrace.GetCyles();
Assert.(500000*1.2 > numberOfCPUCycles); // took more than the 500,000 cpu cycles plus 20%
If we could do something like this to help automate our profiling it would be very useful to us.