From 54061901b6cbda45b5a5554223cccf796c08e18e Mon Sep 17 00:00:00 2001 From: Ishaan Kakkar Date: Sun, 22 Mar 2026 23:32:54 +0530 Subject: [PATCH 1/4] Added MacBook Neo benchmark --- ReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReadMe.md b/ReadMe.md index 224256ae..db56d79e 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -26,6 +26,7 @@ If a device you are looking for is not listed below, check out open [issues](htt | Macbook Air 13" 2024 | M4 10c (10c GPU) | 16 | 256 | 26.1 | 26.1 | 188 | | Macbook Pro 16" 2021 | M1 Max 10-core | 64 | 1TB | 26.3 | 26.4 | 188 | | Macbook Pro 14" 2021 | M1 Pro 10-core | 16 | 1TB | 26.3 | 26.2 | 194 | +| Macbook Neo 13" 2026 | A18 Pro 6-core | 8 | 512 | 26.3 | 26.3.2 | 404 | ## Xcode 16 From 869bf270b878bbeec408324f6fc163a6008ac067 Mon Sep 17 00:00:00 2001 From: Sun Date: Tue, 24 Mar 2026 11:50:57 +0800 Subject: [PATCH 2/4] Fix Xcode 26.4 benchmark build --- Podfile | 23 +++++++++++++++++++ .../AFNetworking/AFHTTPSessionManager.m | 1 - .../AFNetworkReachabilityManager.m | 8 +++---- benchmark.sh | 18 +++++++++++---- 4 files changed, 40 insertions(+), 10 deletions(-) diff --git a/Podfile b/Podfile index 1df4760c..3703651c 100644 --- a/Podfile +++ b/Podfile @@ -89,4 +89,27 @@ post_install do |pi| end end end + + afnetworking_reachability = pi.sandbox.root + 'AFNetworking/AFNetworking/AFNetworkReachabilityManager.m' + if File.exist?(afnetworking_reachability) + file_content = File.read(afnetworking_reachability) + patched_content = file_content + .gsub('#import ' + "\n", "#import \n#import \n") + .gsub("#import \n", '') + .gsub('struct sockaddr_in6 address;', 'struct sockaddr_storage address;') + .gsub('address.sin6_len = sizeof(address);', 'address.ss_len = sizeof(address);') + .gsub('address.sin6_family = AF_INET6;', 'address.ss_family = AF_INET6;') + if patched_content != file_content + File.write(afnetworking_reachability, patched_content) + end + end + + afnetworking_http = pi.sandbox.root + 'AFNetworking/AFNetworking/AFHTTPSessionManager.m' + if File.exist?(afnetworking_http) + file_content = File.read(afnetworking_http) + patched_content = file_content.gsub("#import \n", '') + if patched_content != file_content + File.write(afnetworking_http, patched_content) + end + end end diff --git a/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m b/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m index b4ab5915..2e25641e 100644 --- a/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m +++ b/Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m @@ -29,7 +29,6 @@ #import #import -#import #import #import #import diff --git a/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m b/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m index 0322bf9b..9481112e 100644 --- a/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m +++ b/Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m @@ -22,8 +22,8 @@ #import "AFNetworkReachabilityManager.h" #if !TARGET_OS_WATCH +#import #import -#import #import #import #import @@ -147,10 +147,10 @@ + (instancetype)managerForAddress:(const void *)address { + (instancetype)manager { #if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000) || (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) - struct sockaddr_in6 address; + struct sockaddr_storage address; bzero(&address, sizeof(address)); - address.sin6_len = sizeof(address); - address.sin6_family = AF_INET6; + address.ss_len = sizeof(address); + address.ss_family = AF_INET6; #else struct sockaddr_in address; bzero(&address, sizeof(address)); diff --git a/benchmark.sh b/benchmark.sh index 4e9c66a3..84d8418c 100644 --- a/benchmark.sh +++ b/benchmark.sh @@ -7,18 +7,25 @@ echo "Preparing environment" START_TIME=$(date +"%T") -defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES +if ! defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES >/dev/null 2>&1; then + echo "Warning: failed to enable Xcode build duration output" +fi -if [ -n "$PATH_TO_PROJECT" ]; then +if [ -d "$PATH_TO_PROJECT" ]; then echo "Running XcodeBenchmark..." echo "Please do not use your Mac while XcodeBenchmark is in progress\n\n" - xcodebuild -workspace "$PATH_TO_PROJECT" \ + if ! xcodebuild -workspace "$PATH_TO_PROJECT" \ -scheme XcodeBenchmark \ -destination generic/platform=iOS \ -derivedDataPath "$PATH_TO_DERIVED" \ - build + build; then + echo "" + echo "❌ XcodeBenchmark build failed" + rm -rf "$PATH_TO_DERIVED" + exit 1 + fi echo "System Version:" "$(sw_vers -productVersion)" xcodebuild -version | grep "Xcode" @@ -54,9 +61,10 @@ if [ -n "$PATH_TO_PROJECT" ]; then echo "" echo "2️⃣ Share your results at https://github.com/devMEremenko/XcodeBenchmark" - rm -rfd "$PATH_TO_DERIVED" + rm -rf "$PATH_TO_DERIVED" else echo "XcodeBenchmark.xcworkspace was not found in the current folder" echo "Are you running in the XcodeBenchmark folder?" + exit 1 fi From 65c426fe44bfefa64c899252fdcd29dfbc22f266 Mon Sep 17 00:00:00 2001 From: Sun Date: Tue, 24 Mar 2026 11:51:23 +0800 Subject: [PATCH 3/4] Add Mac mini M4 Pro Xcode 26.4 result --- ReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReadMe.md b/ReadMe.md index 224256ae..d6ca576d 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -21,6 +21,7 @@ If a device you are looking for is not listed below, check out open [issues](htt | MacBook Pro 14" 2024 | M4 Pro 14c | 48 | 1TB | 26.3 | 26.3.1 | 108 | | Mac Studio 2022 | M1 Ultra 20-core | 128 | 1TB | 26.1.1| 26.1 | 112 | | Macbook Pro 14" 2025 | M5 10-core | 16 | 512 | 26.3 | 26.3.1 | 146 | +| Mac Mini 2024 | M4 Pro 14-core | 64 | 4TB | 26.4 | 26.3.1 | 146 | | MacBook Pro 14" 2024 | M4 Pro 12c | 24 | 512 | 26.3 | 26.3 | 164 | | Macbook Air 13" 2026 | M5 10c (10c GPU) | 32 | 512 | 26.3 | 26.3.1 | 173 | | Macbook Air 13" 2024 | M4 10c (10c GPU) | 16 | 256 | 26.1 | 26.1 | 188 | From afa9c36a4f17e95c0b3d6c4df1e3ae06c551e1cb Mon Sep 17 00:00:00 2001 From: sosolakoglu Date: Sat, 28 Mar 2026 19:30:33 +0000 Subject: [PATCH 4/4] add m5 pro 15 core measurement --- ReadMe.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReadMe.md b/ReadMe.md index 224256ae..0d03dd75 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -17,6 +17,7 @@ If a device you are looking for is not listed below, check out open [issues](htt | MacBook Pro 16" 2026 | M5 Pro 18-core | 48 | 1TB | 26.3 | 26.3 | 89 | | MacBook Pro 16" 2024 | M4 Max 16-core | 48 | 1TB | 26.3 | 26.2 | 89 | | Mac Studio 2023 | M2 Ultra 24-core | 64 | 2TB | 26.2 | 26.2 | 93 | +| MacBook Pro 14" 2026 | M5 Pro 15-core | 24 | 1TB | 26.4 | 26.4 | 101 | | Macbook Pro 16" 2024 | M4 Pro 14c | 48 | 1TB | 26.1 | 15.7.1 | 104 | | MacBook Pro 14" 2024 | M4 Pro 14c | 48 | 1TB | 26.3 | 26.3.1 | 108 | | Mac Studio 2022 | M1 Ultra 20-core | 128 | 1TB | 26.1.1| 26.1 | 112 |