src/vs/platform/profiling/electron-sandbox/profileAnalysisWorker.ts/ProfileAnalysisWorker/analyseBottomUp
class ProfileAnalysisWorker:	analyseBottomUp(profile: IV8Profile): BottomUpAnalysis {
		if (!Utils.isValidProfile(profile)) {
			return { kind: ProfilingOutput.Irrelevant, samples: [] };
		}

		const model = buildModel(profile);
		const samples = bottomUp(model, 5, false)
			.filter(s => !s.isSpecial);

		if (samples.length === 0 || samples[1].percentage < 10) {
			// ignore this profile because 90% of the time is spent inside "special" frames
			// like idle, GC, or program
			return { kind: ProfilingOutput.Irrelevant, samples: [] };
		}

		return { kind: ProfilingOutput.Interesting, samples };
	}