https://github.com/polac24/xcrcpenalty
Reproduce project for https://github.com/spotify/XCRemoteCache/issues/137
https://github.com/polac24/xcrcpenalty
Last synced: 3 months ago
JSON representation
Reproduce project for https://github.com/spotify/XCRemoteCache/issues/137
- Host: GitHub
- URL: https://github.com/polac24/xcrcpenalty
- Owner: polac24
- Created: 2022-05-19T15:05:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-19T15:33:40.000Z (about 3 years ago)
- Last Synced: 2025-01-30T03:15:16.394Z (5 months ago)
- Language: Swift
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
### Sample project for XCRemoteCache penalty for 0% cache hit is achieved
TLDR; the penalty is between 12%-15%
### Scenario
The project builds `RxSwift` and `RxCocoa` locally and some "dummy" local project (negligible).
1. Build for a baseline Xcode:
- `sudo xcode-select -s /Applications/Xcode.app/Contents/Developer`
- `./reproduce.sh` - with XCRemoteCache (0% hit rate)
- `./reproduce.sh 0` - without XCRemoteCache2. Build for the other Xcode(s):
- `sudo xcode-select -s /Applications/Xcode-other.app/Contents/Developer`
- `./reproduce.sh` - with XCRemoteCache (0% hit rate)
- `./reproduce.sh 0` - without XCRemoteCache#### Results:
MacBook Pro M1 Max:
##### Results for Xcode 13.2.1 (baseline):
* with XCRC: AVG 18.9s: `0m18.499s`, `0m18.304s`, `0m20.017s`
* without XCRC: AVG 16.9s: `0m16.550s`, `0m17.201s`, `0m16.988s`**XCRC Penalty with 0% cache hit: +12%**
##### Results for Xcode 13.4:
* with XCRC: AVG 16.6s: `0m16.655s`, `0m15.908s`, `0m17.240s`
* without XCRC: AVG 14.5s: `0m14.444s`, `0m15.430s`, `0m14.751s`**XCRC penalty with 0% cache hit: +15%**