PerfTestHarness
A lightweight performance test harness for Windows console apps
Uses several C# 6.0 features / Visual Studio 2015 CTP. "MongoCS.cmd" is a sample script for running the application.
#Sample Output
Title, C# Mongo Experiment 5 Iterations Start Time, 2015-02-10 22:17 End Time, 2015-02-10 22:17 Executable, ..\MongoExperiments\MongoExperiments.CS\bin\Debug\MongoExperiments.CS.exe Arguments, OS, Microsoft Windows 8.1 Physical Memory, 7 GB Virtual Memory, 3 GB Processors, 4 Run Number, Exit Code, Paged Memory, Virtual Memory, Working Set, Processor Time 0, 0, 13615104, 158740480, 21319680, 734 1, 0, 13381632, 160129024, 20897792, 812 2, 0, 13549568, 157417472, 21315584, 781 3, 0, 13213696, 157417472, 20963328, 703 4, 0, 13168640, 157351936, 20750336, 766 Averages, , 13385728, 158211276, 21049344, 759