Skip to content

Conversation

@haixiaosugoogle
Copy link
Contributor

Screenshot 2025-10-10 at 16 35 00

@haixiaosugoogle haixiaosugoogle requested a review from a team as a code owner October 10, 2025 16:52
private static showSkippedPerfSamples: Setting<boolean>;

static onActivate(app: App): void {
const boolSettingDesc: SettingDescriptor<boolean> = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we discussed flagging, I meant feature_flags.ts, not settings.

The settings are toggles for end users that we expect to keep around, while flags are for things that are still in development or where the UX is not finalised (which is the case here).

However I'm also no longer insisting on this being flagged. We can always roll back if the tracks prove surprising.

.getGroupForProcess(upid);
const summaryTrack = new TrackNode({
uri,
name: `Process callstacks (skipped)`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not a fan of "skipped" because:

  1. it's not clear to users what is meant by a skipped sample (is it an error?)
  2. it's completely valid to do sampling of counters without callstacks, in which case all samples will appear "skipped".

I'm struggling to suggest a better name. How about "Unclassified perf samples"?

sessionId?: number,
) {
const constraints = [];
if (upid !== undefined) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's quite a bit of copypasted code that is never used. I've started a more minimal implementation here (including a different visual styling to avoid confusion with callstacks). Can we similarly cut down the unnecessary code in this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants