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

View File

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