A framework that includes 42 popular CocoaPods libraries and 70+ dependencies in total.
Language
files
blank
comment
code
C/C++ Header
2785
58618
143659
215644
C++
750
24771
30788
182663
Objective C
882
27797
23183
148244
Swift
1122
21821
35225
113945
C
390
15064
23319
84119
Objective C++
69
2980
2026
15561
Markdown
61
4865
1
15131
XML
144
1022
10
13047
Bourne Shell
3
244
209
1321
JSON
22
1
0
1114
Pascal
2
87
185
180
YAML
1
0
0
5
SUM:
6231
157270
258605
790974
Q: What do the results mean?
First of all, the project is huge. Most projects are of a much smaller size.
The results show relative performance in Xcode, compared to other Macs running under similar conditions.
Q: Why is CocoaPods not excluded from git-repo?
The project is also used by non-programmers. Let's keep it simple.
Q: Will it affect my other Xcode projects?
A separate build folder is created for the benchmark run that is then deleted after it finishes. The folder goes to about 2.5GB.
YouTubers and bloggers
You are free to use these results in your videos and articles as well as to run XcodeBenchmark to compare Macs.
Please make sure to add the link to this repository.
Contribution
Since May 3, 2021, XcodeBenchmark must be used with Xcode 12.5 or above.
If you have any non-Apple hardware components - submit your results to the Custom Hardware table.
devMEremenko/XcodeBenchmark
XcodeBenchmark
contains a large codebase to measure the compilation time in Xcode.You are probably familiar with the following question:
XcodeBenchmark
is initially created for Max Tech YouTube channel to compare the performance of new iMacs 2020.I believe the results will help developers to make the right cost/performance trade-off decision when choosing their next Mac.
Note
PR merging will be performed on a best-effort basis.
If a device you are looking for is not on the list below, check out open issues and PRs.
Xcode 13.0 or above
Xcode 12.5
Xcode 12
Xcode 11
Custom Hardware - Xcode 13.3
Custom Hardware - Xcode 12.5 or above
Custom Hardware - Xcode 12
Custom Hardware - Xcode 11
Set up
Since Oct 23, 2021, XcodeBenchmark only supports Xcode 13.0 or above.
additional tools
(Xcode should suggest it automatically).Before each test
System Preferences
->Users and Groups
->User
->Login Items
.Battery
settingsSystem Preferences
->Battery
->Battery/Power Adapter
->Turn display off
and set 15 min.Running a test
Terminal
app.cd
and drag & dropXcodeBenchmark
folder to theTerminal
app to formcd path/to/xcode-benchmark
.sh benchmark.sh
inTerminal
.XcodeBenchmark
has completed you will see this information.FAQ
Q: What's inside?
A framework that includes 42 popular CocoaPods libraries and 70+ dependencies in total.
Q: What do the results mean?
Q: Why is CocoaPods not excluded from git-repo?
Q: Will it affect my other Xcode projects?
YouTubers and bloggers
You are free to use these results in your videos and articles as well as to run XcodeBenchmark to compare Macs. Please make sure to add the link to this repository.
Contribution
Since May 3, 2021, XcodeBenchmark must be used with Xcode 12.5 or above.
Custom Hardware
table.Make sure:
Time
column is still sorted after insertion.Contributors