Skip to content

Commit bf48bcc

Browse files
fortmarekclaude
andcommitted
Add resultBundlePath to pre-warmed cache benchmark
Adds -resultBundlePath parameter to write result bundle to /tmp directory during pre-warmed cache benchmarking. Also cleans up the result bundle in the conclude step to prevent disk space issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 49bf4af commit bf48bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ jobs:
7373
hyperfine --warmup 1 --runs 10 \
7474
--setup 'xcodebuild -project App.xcodeproj -scheme App -destination "platform=iOS Simulator,name=iPhone 17" build >> ../logs/benchmark-pre-warmed-setup.log 2>&1' \
7575
--prepare 'rm -rf ~/Library/Developer/Xcode/DerivedData' \
76-
--conclude 'tuist inspect build' \
77-
'xcodebuild -project App.xcodeproj -scheme App -destination "platform=iOS Simulator,name=iPhone 17" build >> ../logs/benchmark-pre-warmed-cache.log 2>&1' \
76+
--conclude 'tuist inspect build && rm -rf /tmp/benchmark-result-bundle.xcresult' \
77+
'xcodebuild -project App.xcodeproj -scheme App -destination "platform=iOS Simulator,name=iPhone 17" -resultBundlePath /tmp/benchmark-result-bundle.xcresult build >> ../logs/benchmark-pre-warmed-cache.log 2>&1' \
7878
--show-output
7979
8080
- name: Upload benchmark logs

0 commit comments

Comments
 (0)