From e307fd20944e52153815f58d9df9d83df0d5162f Mon Sep 17 00:00:00 2001 From: hyj1991 Date: Wed, 15 Dec 2021 19:40:46 +0800 Subject: [PATCH] fix: shouldn't merge (program) call frame --- src/import/chrome.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import/chrome.ts b/src/import/chrome.ts index 2368d52..bf7ed21 100644 --- a/src/import/chrome.ts +++ b/src/import/chrome.ts @@ -203,7 +203,7 @@ function shouldIgnoreFunction(callFrame: CPUProfileCallFrame) { } function shouldPlaceOnTopOfPreviousStack(functionName: string) { - return functionName === '(garbage collector)' || functionName === '(program)' + return functionName === '(garbage collector)' } export function importFromChromeCPUProfile(chromeProfile: CPUProfile): Profile {