Skip to content

Commit 931e3a3

Browse files
committed
fix comment
1 parent 039b61d commit 931e3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/browser-utils/src/metrics/browserMetrics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export function startTrackingLongAnimationFrames(): void {
157157
const { start_timestamp: parentStartTimestamp, op: parentOp } = spanToJSON(parent);
158158

159159
if (parentOp === 'navigation' && parentStartTimestamp && startTime < parentStartTimestamp) {
160-
// Skip adding the span if the long task started before the navigation started.
160+
// Skip adding the span if the long animation frame started before the navigation started.
161161
// `startAndEndSpan` will otherwise adjust the parent's start time to the span's start
162162
// time, potentially skewing the duration of the actual navigation as reported via our
163163
// routing instrumentations

0 commit comments

Comments
 (0)