.NET solution for benchmarking