benchmark.ts (npm): Measure the time to execute the given function.
Keywords: benchmark|jsperf|measure|performance