Measure Execution Time

A utility that measures how long another function takes to run and works for both synchronous and asynchronous functions.

Asked in Atlassian frontend interviews