title: Compare the load/performance of two functions
body: <p>Iv wrote some C# code which seemed to be taking its sweet time, but getting the job done. I then rewrote the code to a slightly faster version, although its not speedy (its a cms admin area function so not critical to the site)</p>
  
  <p>Anyway it got me thinking if there are any tools/techniques out there that allow a/b testing for functions in asp.net/C#</p>
  
  <p>I basically want to provide two functions, and get the execution times etc for each one.</p>
  
  <p>Any one come across any tools for this?</p>
  
  <p>Had a Google and looked on here but couldn't find anything for benchmarking two functions</p>
  
  <p>I guess I'm looking for jsPerf but in vs2010 and for C#</p>
  
  <p>Any ideas?</p>