Skip to content

Commit

Permalink
only use --unreleased for insider quality (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero authored Feb 8, 2023
1 parent f1c5866 commit 4e50c93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/vscode-perf-bot",
"version": "0.1.4",
"version": "0.1.5",
"description": "Allows to run performance tests with Slack bot messages for VS Code.",
"repository": {
"type": "git",
Expand Down
12 changes: 11 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,23 @@ async function runPerformanceTest(opts: Opts): Promise<void> {
build,
'--runtime',
Constants.RUNTIME,
'--unreleased',
'--prof-append-timers',
Constants.PERF_FILE,
'--runs',
'10'
]

if (opts.quality === 'insider') {

// we pause insider builds for automated releases before releasing
// the next stable version for a few days. history has proven that
// performance regressions can come in during this time due to debt
// work starting. as such, we want performance testing to run even
// over unreleased builds from the `main` branch. the `--unreleased`
// command line argument ensures this

args.push('--unreleased');
}
if (opts.folder) {
args.push('--folder', opts.folder);
}
Expand Down

0 comments on commit 4e50c93

Please sign in to comment.