Skip to content

Conversation

@addaleax
Copy link
Collaborator

@addaleax addaleax commented Nov 6, 2025

No description provided.

@addaleax addaleax requested a review from a team as a code owner November 6, 2025 16:47
Copilot AI review requested due to automatic review settings November 6, 2025 16:47
@addaleax addaleax added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Nov 6, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds tracking of the Node.js executable size as a performance metric in the CLI REPL smoke tests. The change introduces a new performance test result that captures the size of the executable binary being used to run the tests.

Key Changes:

  • Extracts common performance tags (architecture and platform) into a reusable constant
  • Adds a new performance metric for tracking executable binary size

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +392 to +393
name: 'size_bytes_mean',
type: 'MEAN',
Copy link

Copilot AI Nov 6, 2025

Choose a reason for hiding this comment

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

Using 'MEAN' as the metric type for a single measurement of executable size is misleading, as there's no averaging occurring. Consider using a more appropriate type like 'VALUE' or 'GAUGE' to accurately represent that this is a single point-in-time measurement.

Suggested change
name: 'size_bytes_mean',
type: 'MEAN',
name: 'size_bytes',
type: 'VALUE',

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure about whether this is a supported value even, given that the docs are gone away due to https://github.com/10gen/performance-tooling-docs/blob/main/getting_started/migrating_from_perfSend_to_sps.md

tags: [...commonPerfTags],
},
created_at: new Date().toISOString(),
completed_at: new Date().toISOString(),
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want a different completition value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this would mainly be relevant for tasks that actually measure durations

@addaleax addaleax merged commit 137cb13 into main Nov 6, 2025
140 of 142 checks passed
@addaleax addaleax deleted the track-size-in-perf-measurements branch November 6, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants