-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Hello team!
We’re planning to integrate pure Tart VMs into our CI/CD flow (Jenkins → Host → SSH → VM).
The VM workflow:
-
prepare environment and project via Tuist
-
build project binaries with xcodebuild (via fastlane)
-
run UI and Unit tests.
Environment:
-
Host & VM: macOS Sequoia (latest)
-
Host machine: Apple M1 (8 cores, 16 GB RAM)
-
VM: 100% CPU and memory allocated
-
Spotlight indexing disabled (host and VM)
-
Animations, screensavers etc. disabled
-
Root disk created with performance optimization flags:
-
--root-disk-opts="sync=none,caching=cached"
-
The VM image is created manually, very close to the configuration produced by Packer (custom-built image).
Observations:
-
On host: xcodebuild full project build takes ~307 seconds.
-
Inside Tart VM: same build takes ~400–470 seconds.
-
Environment, dependencies, and build commands are identical.
Questions:
-
Do you have general recommendations for resource allocation (CPU/RAM/disk) for Tart VMs based on host capacity?
-
Are there any best practices to reduce the Xcode build performance gap between host and VM?
Thx!