Proxy.Client by Daniel Buckle

<PackageReference Include="Proxy.Client" Version="1.1.6" />

 TimingHelper

static class TimingHelper
Helper class to measure the execution time of the functions passed.
public static float Measure(Action atn)

Measures the time a given action takes.

public static ValueTuple<float, T> Measure<T>(Func<T> fn)

Measures the time a given function takes.

public static Task<float> MeasureAsync(Func<Task> fn)

Asynchronously measures the time a function takes.

public static Task<ValueTuple<float, T>> MeasureAsync<T>(Func<Task<T>> fn)

Asynchronously measures the time a function takes.