Are there any .NET frameworks for writing micro-benchmarks like Japex or this (both are for Java)?
Asked
Active
Viewed 2,144 times
3 Answers
3
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
- 4,030
- 1
- 16
- 12
3
I think you can try https://perfdotnet.github.io/BenchmarkDotNet/, which's a good tool currently. I'm very happy to used it everyday.

cat916
- 1,363
- 10
- 18
2
Jon Skeet wrote one: http://msmvps.com/blogs/jonskeet/archive/2009/01/26/benchmarking-made-easy.aspx
It also lives on google-code
Unfortunately, it not as rich as Japex

Matt Warren
- 10,279
- 7
- 48
- 63

Sam Saffron
- 128,308
- 78
- 326
- 506
-
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 Jul 22 '09 at 05:11
-
I really must get back to it at some point. Probably not until the book's finished though... – Jon Skeet Jul 22 '09 at 05:30
-
All great answers should begin with those 4 words, shouldn't they? – misteraidan Nov 09 '09 at 03:55