Are there any .NET frameworks for writing micro-benchmarks like Japex or this (both are for Java)?
相关问题
- Generic Generics in Managed C++
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Faster loop: foreach vs some (performance of jsper
- Bulk update SQL Server C#
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
I think you can try https://perfdotnet.github.io/BenchmarkDotNet/, which's a good tool currently. I'm very happy to used it everyday.
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