Skip to content

Commit

Permalink
Clear cache
Browse files Browse the repository at this point in the history
  • Loading branch information
fortmarek committed Jan 15, 2025
1 parent 1c14c64 commit 91925ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
path: |
${{ matrix.package }}/.build
key: ${{ runner.os }}-${{ hashFiles('*/Package.resolved') }}-${{ matrix.package }}
key: ${{ runner.os }}-v1-${{ hashFiles('*/Package.resolved') }}-${{ matrix.package }}
restore-keys: ${{ matrix.package }}/.build
- name: Log in to Tuist
run: tuist registry login
Expand Down
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,29 +128,35 @@ Range (min … max): 185.861 s … 201.466 s 5 runs

#### Source control with cache

Source: https://github.com/tuist/registry-tests/actions/runs/12789209966/job/35652131645
Source: https://github.com/tuist/registry-tests/actions/runs/12789209966/job/35652131645 & https://github.com/tuist/registry-tests/actions/runs/12790261608/job/35655616668

- Cache size: 3037 MB
- Restore cache: ~56 s
- Resolve: ~22 s
- Save cache: ~86 s

#### Registry with cache

Source: https://github.com/tuist/registry-tests/actions/runs/12789209966/job/35652132887
Source: https://github.com/tuist/registry-tests/actions/runs/12789209966/job/35652132887 &

- Cache size: 390 MB
- Save cache: ~15 s
- Cache size: 390 MB (87 % less compared to source control)
- Restore cache: ~17 s (70 % faster compared to source control)
- Resolve: ~27 s (23 % slower compared to source control – most likely an incosistent result as we're not hitting network in this case)
- Save cache: ~15 s (82 % faster compared to source control)

### Package 4 (73 dependencies)

#### Source control with cache

Source: https://github.com/tuist/registry-tests/actions/runs/12789209966/job/35652133715
Source: https://github.com/tuist/registry-tests/actions/runs/12790261608/job/35655617538

- Cache size:

#### Registry with cache

Source: https://github.com/tuist/registry-tests/actions/runs/12789209966/job/35652134736
Source: https://github.com/tuist/registry-tests/actions/runs/12789209966/job/35652134736 & https://github.com/tuist/registry-tests/actions/runs/12790261608/job/35655617980

- Cache size: 626 MB
- Restore cache: ~23 s
- Resolve: ~18 s
- Save cache: ~33 s

0 comments on commit 91925ad

Please sign in to comment.