Are there any .NET frameworks for writing micro-benchmarks like Japex or this (both are for Java)?
+2
A:
Jon Skeet wrote one: http://msmvps.com/blogs/jon_skeet/archive/2009/01/26/benchmarking-made-easy.aspx
It also lives on google-code
Unfortunately, it not as rich as Japex
Sam Saffron
2009-07-22 05:08:03
Related: http://stackoverflow.com/questions/1047218/benchmarking-small-code-samples-in-c-can-this-implementation-be-improved, its not really a framework, but a method you can use.
Sam Saffron
2009-07-22 05:11:52
Here is a link to its Google Code page: http://code.google.com/p/minibench/
Alexey Romanov
2009-07-22 05:12:05
Thanks alexey! added a link.
Sam Saffron
2009-07-22 05:15:29
I really must get back to it at some point. Probably not until the book's finished though...
Jon Skeet
2009-07-22 05:30:36
All great answers should begin with those 4 words, shouldn't they?
misteraidan
2009-11-09 03:55:26
+2
A:
Check this out, it is really cool library, VERY easy to use http://blogs.msdn.com/vancem/archive/2009/02/06/measureit-update-tool-for-doing-microbenchmarks.aspx
The best feature I like in it is the normalization feature, it lets you compare different results in a meaningful way.
Hope this helps
mfawzymkh
2009-07-22 05:46:53