Utility timing function. Given a callback, it times the callback and returns its runtime in milliseconds. It uses performance.now() to do this. If performance.now() is not available, it returns null.
performance.now()
callback to time
Generated using TypeDoc
Utility timing function. Given a callback, it times the callback and returns its runtime in milliseconds. It uses
performance.now()
to do this. Ifperformance.now()
is not available, it returns null.