Some quick and sometimes dirty C# code to evaluate the performance difference between various approaches.
This project now requires Visual Studio 2017.3 preview build or Visual Studio Code with latest C# extension, or if using the .NET CLI with VS Code or an OmniSharp enabled editor, .NET Core 2.0 or higher.