Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ Sentry.uiProfiler.startProfiler();
fibonacci(40);
await new Promise(resolve => setTimeout(resolve, 25));

largeSum();
// Enough iterations that largeSum stays on-stack across several profiler ticks (10ms interval); otherwise sampling can miss it entirely.
largeSum(2_500_000);
await new Promise(resolve => setTimeout(resolve, 25));

Sentry.uiProfiler.stopProfiler();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ sentryTest('sends profile_chunk envelopes in manual mode', async ({ page, getLoc
const profileChunkEnvelopes = await getMultipleSentryEnvelopeRequests<ProfileChunkEnvelope>(
page,
2,
{ url, envelopeType: 'profile_chunk', timeout: 8000 },
{ url, envelopeType: 'profile_chunk', timeout: 15_000 },
properFullEnvelopeRequestParser,
);

Expand Down
Loading