.NET benchmarking frameworks

2019-03-29 09:12发布

Are there any .NET frameworks for writing micro-benchmarks like Japex or this (both are for Java)?

3条回答
做个烂人
2楼-- · 2019-03-29 09:20

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

查看更多
疯言疯语
3楼-- · 2019-03-29 09:31

I think you can try https://perfdotnet.github.io/BenchmarkDotNet/, which's a good tool currently. I'm very happy to used it everyday.

查看更多
ら.Afraid
4楼-- · 2019-03-29 09:34

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

查看更多
登录 后发表回答