Every once in a while, you’ll want to compare to performance of two or more routines, algorithms, types, etc. This is called benchmarking and it’s a lot of fun to do in F#. Here’s how you do it.
How to install BenchmarkDotNet First, make sure you’ve got the latest .NET SDK . Then create a new console app:
dotnet new console -lang F# -o BasicExperiment Navigate to the BasicExperiment directory and add the package: