Function parserTime

  • 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.

    Parameters

    • callback: Function

      callback to time

    Returns number | null

    • time in milliseconds

Generated using TypeDoc