.NET benchmarking frameworks

╄→гoц情女王★ 提交于 2019-12-05 00:02:14

问题


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


回答1:


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




回答2:


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:


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



来源:https://stackoverflow.com/questions/1163143/net-benchmarking-frameworks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!