We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc3706 commit 9726052Copy full SHA for 9726052
1 file changed
src/setup/telemetry/index.ts
@@ -54,9 +54,8 @@ export default function (): void {
54
});
55
}
56
if (entry.name === 'runJsBundleEnd') {
57
- const durationMs = jsParseStartMs !== undefined ? Math.round(entry.startTime - jsParseStartMs) : 'n/a';
58
- if (jsParseStartMs !== undefined && durationMs !== 'n/a') {
59
- endSpan(CONST.TELEMETRY.SPAN_JS_PARSE_TIME, durationMs);
+ if (jsParseStartMs !== undefined) {
+ endSpan(CONST.TELEMETRY.SPAN_JS_PARSE_TIME, entry.startTime / 1000);
60
61
observer.disconnect();
62
0 commit comments