UNPKG

@metamask/multichain-account-service

Version:
1 lines 645 B
{"version":3,"file":"timer.mjs","sourceRoot":"","sources":["../../src/analytics/timer.ts"],"names":[],"mappings":"AAAA,0BAA0B,CAAC,2GAA2G;AAEtI;;;;GAIG;AACH,MAAM,UAAU,GAAG;IACjB,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC;AAC3B,CAAC","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"]}