Timing code execution

Even though there are indeed benchmarking frameworks available, there is also :timer.tc/1,2,3 in Erlang.

For one time measurements, eg. for some progress report or sending to a metrics service, it’s usually sufficient.