The Artima Developer Community
Sponsored Link

.NET Buzz Forum
NPerf - .NET Benchmark Framework

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Avery

Posts: 1206
Nickname: james615
Registered: Sep, 2003

James Avery is a .NET pimp
NPerf - .NET Benchmark Framework Posted: Jan 26, 2004 8:49 PM
Reply to this message Reply

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

Advertisement

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
{
    // explained below
    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

Topic: Presented at the Chattanooga Area .Net User Group Previous Topic   Next Topic Topic: Mars or AIDS?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use