Skip to content

Commit eb51641

Browse files
committed
move profiling
1 parent 8267561 commit eb51641

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/browser/src/profiling/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { debug, defineIntegration, getActiveSpan, getRootSpan, hasSpansEnabled }
33
import type { BrowserOptions } from '../client';
44
import { DEBUG_BUILD } from '../debug-build';
55
import { WINDOW } from '../helpers';
6-
import { BrowserTraceLifecycleProfiler } from './lifecycleMode/traceLifecycleProfiler';
76
import { startProfileForSpan } from './startProfileForSpan';
7+
import { BrowserTraceLifecycleProfiler } from './traceLifecycleProfiler';
88
import type { ProfiledEvent } from './utils';
99
import {
1010
addProfilesToEnvelope,

packages/browser/src/profiling/lifecycleMode/traceLifecycleProfiler.ts renamed to packages/browser/src/profiling/traceLifecycleProfiler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import {
99
getSdkMetadataForEnvelopeHeader,
1010
uuid4,
1111
} from '@sentry/core';
12-
import { DEBUG_BUILD } from '../../debug-build';
13-
import type { JSSelfProfiler } from '../jsSelfProfiling';
14-
import { createProfileChunkPayload, startJSSelfProfile, validateProfileChunk } from '../utils';
12+
import { DEBUG_BUILD } from './../debug-build';
13+
import type { JSSelfProfiler } from './jsSelfProfiling';
14+
import { createProfileChunkPayload, startJSSelfProfile, validateProfileChunk } from './utils';
1515

1616
const CHUNK_INTERVAL_MS = 60_000; // 1 minute
1717
// Maximum length for trace lifecycle profiling per root span (e.g. if spanEnd never fires)

0 commit comments

Comments
 (0)