It’s pretty straightforward to do basic benchmarking of a single, self-contained piece of code in .NET. You just make a Stopwatch sandwich (let sw = Stopwatch.StartNew(); <code goes here>; sw.Stop()), then read off the elapsed time from the Stopwatch. What about measuring the throughput of a data┬ápipeline? In this case one is less interested in … Continue reading Benchmarking IEnumerables in F# – Seq.timed