MeasureAPIPerformance This is taken from a ComputerWorld article titled How to measure API performance in ASP.NET Core.