Benchmarking library usable from C#

I am wanting to conduct benchmark tests on a couple of servers that I manage and would like to be able to set up my own scenarios and order of events/ automation.

So I'm wondering if there are any libraries that can be used to perform benchmarking of different aspects of a windows computer such as CPU, Disk IO, and RAM.

Update 1 : Since there seems to be no available libraries for doing this I'll also accept answers pointing to examples or guides of how one can test CPU, Disk and Memory performance with C#.

Update 2 are there any good libraries for this in any language?


You can use this open-source framework BenchmarkDotNet for CPU benchmarking. It include Stopwatch using, GC pre-call, warmup, set priority of process, thred, ProcessorAffinity-mask, api for benchmark competitions and nice console output with results.


这可能超出范围,但是我在单元测试级别寻找类似的东西,并找到了关于创建和编辑负载测试的MSDN主题。

链接地址: http://www.djcxy.com/p/62588.html

上一篇: 使用服务模块远程登录到Drupal 7站点

下一篇: 基准测试库可用于C#