-
Notifications
You must be signed in to change notification settings - Fork 85
chore(cli-repl): track executable size as performance metric #2569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -82,6 +82,7 @@ export async function runSmokeTests({ | |||||||||
| }); | ||||||||||
| } | ||||||||||
| const perfResults: PerfTestResult[] = []; | ||||||||||
| const commonPerfTags = [process.arch, process.platform]; | ||||||||||
|
|
||||||||||
| for (const { | ||||||||||
| name, | ||||||||||
|
|
@@ -365,7 +366,7 @@ export async function runSmokeTests({ | |||||||||
| perfResults.push({ | ||||||||||
| info: { | ||||||||||
| test_name: name, | ||||||||||
| tags: [...(tags ?? []), process.arch, process.platform], | ||||||||||
| tags: [...(tags ?? []), ...commonPerfTags], | ||||||||||
| }, | ||||||||||
| created_at, | ||||||||||
| completed_at, | ||||||||||
|
|
@@ -378,6 +379,22 @@ export async function runSmokeTests({ | |||||||||
| } | ||||||||||
| } | ||||||||||
| if (wantPerformanceTesting) { | ||||||||||
| perfResults.push({ | ||||||||||
| info: { | ||||||||||
| test_name: 'executable_size', | ||||||||||
| tags: [...commonPerfTags], | ||||||||||
| }, | ||||||||||
| created_at: new Date().toISOString(), | ||||||||||
| completed_at: new Date().toISOString(), | ||||||||||
| artifacts: [], | ||||||||||
| metrics: [ | ||||||||||
| { | ||||||||||
| name: 'size_bytes_mean', | ||||||||||
| type: 'MEAN', | ||||||||||
|
Comment on lines
+392
to
+393
|
||||||||||
| name: 'size_bytes_mean', | |
| type: 'MEAN', | |
| name: 'size_bytes', | |
| type: 'VALUE', |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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