Function std.datetime.benchmark
The old benchmarking functionality in std.datetime (which uses
          TickDuration) has been deprecated. Use what's in
          std.datetime.stopwatch instead. It uses MonoTime and
          Duration. See
          benchmark. This symbol will be removed
          from the documentation in October 2018 and fully removed from Phobos
          in October 2019.
						
					
				Benchmarks code for speed assessment and comparison.
Parameters
| Name | Description | 
|---|---|
| fun | aliases of callable objects (e.g. function names). Each should take no arguments. | 
| n | The number of times each function is to be executed. | 
Returns
The amount of time (as a TickDuration) that it took to
        call each function n times. The first value is the length of time
        that it took to call fun[0] n times. The second value is the
        length of time it took to call fun[1] n times. Etc.
    Note that casting the TickDurations to Durations will make
    the results easier to deal with (and it may change in the future that
    benchmark will return an array of Durations rather than TickDurations).
See Also
Example
import stdAuthors
Jonathan M Davis and Kato Shoichi