devmeremenko / xcodebenchmark Goto Github PK
View Code? Open in Web Editor NEWXcodeBenchmark measures the compilation time of a large codebase on iMac, MacBook, and Mac Pro
License: MIT License
XcodeBenchmark measures the compilation time of a large codebase on iMac, MacBook, and Mac Pro
License: MIT License
Would be great if you can add a small bash script that runs the build from the command line. I had to stumble through "workspace, not project", then the wrong scheme was selected. Maybe even collect all the information you need to populate the table?
Will try to measure the performance once my machine is not under heavy load .. so probably around christmas! :-D
Hello,
I am unsure if this is happening due to recent changes in xcode12. If I press Build hotkey, the build completes within a matter of seconds. This is after cleaning up all derived folders.
While the build completes within a sec or two, the Indexing process continues for a while.
Is there a way to properly measure build time with the newer version of Xcode 12?
** BUILD SUCCEEDED ** [265.893 sec]
System Version: 11.0.1
Xcode 12.2
Hardware Overview
Model Name: iMac
Model Identifier: iMac18,3
Processor Name: Quad-Core Intel Core i7
Processor Speed: 4.2 GHz
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Number of Processors: 1
Hyper-Threading Technology: Enabled
Memory: 16 GB
✅ XcodeBenchmark has completed
1️⃣ Take a screenshot of this window (Cmd + Shift + 4 + Space) and resize to include:
\t- Build Time (See ** BUILD SUCCEEDED ** [XYZ sec])
\t- System Version
\t- Xcode Version
\t- Hardware Overview
\t- Started 22:50:21
\t- Ended 22:55:04
\t- Date 四 11 19 22:55:04 CST 2020
2️⃣ Share your results at https://github.com/devMEremenko/XcodeBenchmark
Hi, just did the benchmark on my old 2015 mac book pro.
Can't really disable Avira, so I just did a build with wifi on and no cooldown, best do not use my results.
The build was still finished in 366 seconds, compared to the 594 seconds of the same macbook model in the table.
Xcode and MacOS are newer, okay, but I think the difference comes from a recent hard disk upgrade?
Instead of the original apple SSD I have a newer model now (Aura Pro X2, 480 GB).
Table: MacBook Pro 15" 2015 | i7 2.2 GHz 4-core | 16 | 265 | | 11.7 | 10.15.6 | 594
Mine: MacBook Pro 15" 2015 | i7 2.2 GHz 4-core | 16 | 512 | | 12.2 | 11.0.1 | 366
Maybe it makes sense to add a column for the type of hard disk?
Hackintosh Lenovo ThinkPad W540 (2014)
i7-4700MQ
32GB RAM
SSD 512GB
Xcode 12.1
build time 450.4 seconds
** BUILD SUCCEEDED ** [253.238 sec]
System Version: 10.15.7
Xcode 12.1
Hardware Overview
Model Name: iMac
Model Identifier: iMac14,2
Processor Name: 6-Core Intel Core i5
Processor Speed: 3,60 GHz
Total Number of Cores: 6
L2 Cache (per Core): 256 KB
L3 Cache: 9 MB
Number of Processors: 1
Memory: 16 GB
Model: WDC WD10EZEX-08WN4A0
Model: SPCC Solid State Disk
✅ XcodeBenchmark has completed
1️⃣ Take a screenshot of this window (Cmd + Shift + 4 + Space) and resize to include:
- Build Time (See ** BUILD SUCCEEDED ** [XYZ sec])
- System Version
- Xcode Version
- Hardware Overview
- Started 19:46:16
- Ended 19:50:39
- Date Wed Nov 18 19:50:39 MSK 2020
** BUILD SUCCEEDED ** [223.016 sec]
System Version: 11.0.1
Xcode 12.2
Hardware Overview
Model Name: MacBook Pro
Model Identifier: MacBookPro16,1
Processor Name: 8-Core Intel Core i9
Processor Speed: 2.4 GHz
Total Number of Cores: 8
L2 Cache (per Core): 256 KB
L3 Cache: 16 MB
Number of Processors: 1
Hyper-Threading Technology: Enabled
Memory: 64 GB
✅ XcodeBenchmark has completed
1️⃣ Take a screenshot of this window (Cmd + Shift + 4 + Space) and resize to include:
- Build Time (See ** BUILD SUCCEEDED ** [XYZ sec])
- System Version
- Xcode Version
- Hardware Overview
- Started 07:59:28
- Ended 08:03:18
- Date Wed Nov 18 08:03:18 EST 2020
I think that comparing Xcode 11.x and 12x build times does not make much sense, lot of stuff changes between versions, the results should be split by Xcode version like in https://github.com/ashfurrow/xcode-hardware-performance
** BUILD SUCCEEDED ** [127.713 sec]
System Version: 11.0.1
Xcode 12.2
Hardware Overview
Model Name: MacBook Air
Model Identifier: MacBookAir10,1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
✅ XcodeBenchmark has completed
1️⃣ Take a screenshot of this window (Cmd + Shift + 4 + Space) and resize to include:
- Build Time (See ** BUILD SUCCEEDED ** [XYZ sec])
- System Version
- Xcode Version
- Hardware Overview
- Started 07:55:43
- Ended 07:57:54
- Date Wed Nov 18 07:57:54 EST 2020
Hi,
it is possible to store a results list from all tested devices? So I can compare it with my system or wish system?
Thank you
Hey there, just wanted to report a build error I got:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_UIPointerShape", referenced from:
objc-class-ref in GoogleMaps
"_OBJC_CLASS_$_UIPointerStyle", referenced from:
objc-class-ref in GoogleMaps
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/pablo/Library/Developer/Xcode/DerivedData/XcodeBenchmark-gyyeenidetzljralwfpjusqlaskg/Build/Products/Debug-iphoneos/XcodeBenchmark.framework/XcodeBenchmark normal arm64
(1 failure)
System Version: 10.15.7
Xcode 11.3.1
Hardware Overview
Model Name: iMac
Model Identifier: iMac14,2
Processor Name: Quad-Core Intel Core i7
Processor Speed: 3,5 GHz
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Number of Processors: 1
Hyper-Threading Technology: Enabled
Memory: 16 GB
Model: Samsung SSD 840 EVO 500GB
Model: WDC WD40EFRX-68WT0N0
Model: WDC WD40EFRX-68N32N0
The build process gives this error message and stops:
The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.1.99.
/XcodeBenchmark/Pods/VK-ios-sdk/library/Resources/SdkAssetCatalog.xcassets:1:1:
Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 13.7 (13.7 - 17H22) - com.apple.CoreSimulator.SimRuntime.iOS-13-7
Never seen such an error before, not sure what it refers to.
Device | CPU | RAM | SSD | HDD | Xcode | macOS | Time(sec) | Comments |
---|---|---|---|---|---|---|---|---|
iMac 27" 2019 | i5 3.0 GHz 6-Core | 64 | 1TB | 12.2 | 11.0.1 | 213 |
I found that comparing MacBook Pro 16" 2019 SSD with 512 GB and 1TB, the time cost is 176 vs 221. I am curious why the time consumption is so different.
The 2011 iMac can't run anything higher than OS X 10.13.6 because of the video card. yet, this benchmark claims they ran OS X 10.15.7 and Xcode 12 on that computer. how is that possible?
Hi, i run this test on my hackintosh, here is the results, if you plan to add hack's into the chart.
Device | CPU | RAM | SSD | Xcode | macOS | Time(sec) |
---|---|---|---|---|---|---|
Hackintosh i5-8400 | i5 2,8 Ghz 6-core | 32 | 512 | 11.6 | 10.15.6 | 409 |
Thanks for creating this! I look forward to seeing the benchmarks on the Max Tech YouTube channel. There's just one issue, though: you might want to provide instructions in the README about how to select the correct target. When I first opened the Xcode workspace myself, it defaulted to the FirebaseRemoteConfig
target, which seems like the wrong one.
More generally, the UI in Xcode 12 beta is fairly different from that in Xcode 11, so once the Xcode 12 GM is released later this year, you might want to update the instructions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.