|
This post originated from an RSS feed registered with .NET Buzz
by James Avery.
|
Original Post: NPerf - .NET Benchmark Framework
Feed Title: .Avery Blog
Feed URL: /blog/Install/BlogNotConfiguredError.aspx
Feed Description: .NET and everything nice
|
Latest .NET Buzz Posts
Latest .NET Buzz Posts by James Avery
Latest Posts From .Avery Blog
|
|
My buddy TomB just passed this my way, it is a very nice looking performance benchmark framework for .NET called NPerf that has been posted on the code project.
As you can see from this sample test it has a very NUnit like feel.
[PerfTester(typeof(IDictionary),10)]
public class DictionaryTester
{
private int count;
private Random rnd = new Random();
[PerfTest]
public void ItemAssign(IDictionary dic)
{
for(int i=0;i<this.count;++i)
dic[rnd.Next()]=null;
}
}
[Code Project - NPerf]
-James
Read: NPerf - .NET Benchmark Framework