Skip to content

Commit

Permalink
Add warmup to xcodebuild hyperfine runs
Browse files Browse the repository at this point in the history
  • Loading branch information
fortmarek committed Jan 15, 2025
1 parent 34d581b commit 60bc210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ jobs:
- name: Hyperfine Swift package dependencies registry and xcodebuild
working-directory: ${{ matrix.package }}
if: ${{ startsWith(matrix.package, 'xcode-project') && endsWith(matrix.package, '-registry') }}
run: hyperfine --prepare 'rm -rf packages' --runs 5 'xcodebuild -resolvePackageDependencies -clonedSourcePackagesDirPath packages' --show-output
run: hyperfine --warmup 1 --prepare 'rm -rf packages' --runs 5 'xcodebuild -resolvePackageDependencies -clonedSourcePackagesDirPath packages' --show-output
- name: Install Swift package dependencies with source control and xcodebuild
working-directory: ${{ matrix.package }}
if: ${{ startsWith(matrix.package, 'xcode-project') && endsWith(matrix.package, '-scm') }}
run: xcodebuild -resolvePackageDependencies
- name: Hyperfine Swift package dependencies source control and xcodebuild
working-directory: ${{ matrix.package }}
if: ${{ startsWith(matrix.package, 'xcode-project') && endsWith(matrix.package, '-scm') }}
run: hyperfine --prepare 'rm -rf packages' --runs 5 'xcodebuild -resolvePackageDependencies -clonedSourcePackagesDirPath packages' --show-output
run: hyperfine --warmup 1 --prepare 'rm -rf packages' --runs 5 'xcodebuild -resolvePackageDependencies -clonedSourcePackagesDirPath packages' --show-output
- name: Install Swift package dependencies with source control
working-directory: ${{ matrix.package }}
if: ${{ !startsWith(matrix.package, 'xcode-project') && endsWith(matrix.package, '-scm') }}
Expand Down

0 comments on commit 60bc210

Please sign in to comment.