Switch to a 6-core profile for mac (#6323)

* Switch to a 6-core profile for mac

* Bump workers percentage to optimize for CPU count (#6329)

* Bump macOS workers percentage to optimize for CPU count

* Handle floor math

---------

Co-authored-by: Jace Browning <jacebrowning@gmail.com>
This commit is contained in:
Adam Sunderland
2025-04-15 13:07:16 -04:00
committed by GitHub
parent a847c7f608
commit 599bd2d958
2 changed files with 3 additions and 3 deletions

View File

@ -285,7 +285,7 @@ jobs:
# TODO: enable namespace-profile-windows-latest once available
os:
- "runs-on=${{ github.run_id }}/family=i7ie.2xlarge/image=ubuntu22-full-x64"
- namespace-profile-macos-8-cores
- namespace-profile-macos-6-cores
- windows-latest-8-cores
shardIndex: [1, 2, 3, 4]
shardTotal: [4]
@ -295,7 +295,7 @@ jobs:
isScheduled:
- ${{ github.event_name == 'schedule' }}
exclude:
- os: namespace-profile-macos-8-cores
- os: namespace-profile-macos-6-cores
isScheduled: true
- os: windows-latest-8-cores
isScheduled: true

View File

@ -20,7 +20,7 @@ if (process.env.E2E_WORKERS) {
case 'darwin':
case 'win32':
default:
workers = '25%' // Lower concurrency for heavier Electron processes
workers = '40%' // Lower concurrency for heavier Electron processes
break
}
}