Runs a block of code and prints its running time to stdout.
Runs a block of code and prints its running time to stdout.
the return type of the block
a name that identifies this benchmark
the printer to use for displaying the benchmark result. It defaults to println
the block of code to run
the value returned by the code block.
Utility object for measuring the running time of a block of code.
(Since version 2017/07/13) This will be removed in a future version