fix: shouldn't merge (program) call frame

This commit is contained in:
hyj1991 2021-12-15 19:40:46 +08:00
parent e37f6fa7c3
commit e307fd2094
No known key found for this signature in database
GPG Key ID: D1C47809EFECD07A

View File

@ -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 {