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.
This might be outside the scope, however I was looking for something similar at the unit test level and found this MSDN topic about Creating and Editing Load Tests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With