Executes the given async function and measures how long the execution takes.
The async function of which the execution speed should be measured.
A tuple with the result of the function, and the execution time in milliseconds.
Executes the given async function and measures how long the execution takes.