To help those searching for a modern solution to this question, and use .NET, give BenchmarkDotNet a try. Sometimes time doesn't tell the whole story, and BenchmarkDotNet will give you various different statistics to help formulize your own path forward.