UNPKG

@metamask/multichain-account-service

Version:
1 lines 655 B
{"version":3,"file":"timer.cjs","sourceRoot":"","sources":["../../src/analytics/timer.ts"],"names":[],"mappings":";AAAA,0BAA0B,CAAC,2GAA2G;;;AAEtI;;;;GAIG;AACH,SAAgB,GAAG;IACjB,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC;AAC3B,CAAC;AAFD,kBAEC","sourcesContent":["/* istanbul ignore file */ // We use this file mainly to ease testing of performance logging, so we don't need to cover it with tests.\n\n/**\n * Returns the current high-resolution timestamp in milliseconds. This is a thin wrapper around `performance.now()`.\n *\n * @returns The current high-resolution timestamp in milliseconds.\n */\nexport function now(): number {\n return performance.now();\n}\n"]}