diff --git a/src/shared/lib/measure.ts b/src/shared/lib/measure.ts index 28a5b516..8d45900a 100644 --- a/src/shared/lib/measure.ts +++ b/src/shared/lib/measure.ts @@ -15,6 +15,7 @@ export function measurement(name: string, commonLog = console.log) { measure(log = commonLog, text = name) { const difference = performance.now() - timeStart; log(`[PERF] ${text} for %sms`, difference.toFixed(2)); + span.updateName(text); span.end(); return difference; },