You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReadMe.md
+19-16Lines changed: 19 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,31 +36,34 @@ I believe the results will help developers to make the right *cost/performance*
36
36
37
37
- Download and install [Xcode](https://apps.apple.com/us/app/xcode/id497799835).
38
38
- Open Xcode and install `additional tools` (Xcode should suggest it automatically).
39
-
- Perform `defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES` in `Terminal` to show build time in the Xcode progress bar.
40
-
- Download and unarchive [XcodeBenchmark](https://github.com/devMEremenko/XcodeBenchmark/archive/master.zip) project.
39
+
-[Download](https://github.com/devMEremenko/XcodeBenchmark/archive/master.zip) and unarchive XcodeBenchmark project.
40
+
- Change permissions of `benchmark.sh` to allow running in `Terminal`
41
+
- Drag & drop `XcodeBenchmark` folder to `Terminal` app
42
+
- Run `chmod 777 benchmark.sh` in Terminal
41
43
42
44
## Before each test
43
45
44
-
1. Select `XcodeBenchmark` -> `Generic iOS Device` in the top left corner.
45
-
2. Close `XcodeBenchmark.xcworkspace` project.
46
-
2. Remove the `DerivedData` folder, by selecting Finder, pressing `Shift + Command + G` and paste in the path: `~/Library/Developer/Xcode`, select the `DerivedData` folder and delete it.
47
-
3. Disconnect a network cable and turn off WiFi.
48
-
4. Make sure to disable all software running at startup: `System Preferences` -> `Users and Groups` -> `User` -> `Login Items` and empty the list.
49
-
5. Reboot and cool down your Mac.
50
-
6. Connect to the power adapter if you use MacBook.
46
+
1. Disconnect a network cable and turn off WiFi.
47
+
2. Make sure to disable all software running at startup
48
+
- Go to `System Preferences` -> `Users and Groups` -> `User` -> `Login Items`.
49
+
- Empty the list.
50
+
3. Update `Energy Saver` settings
51
+
- Go to `System Preferences` -> `Energy Saver` -> `Turn display off` and set 15 min.
52
+
3. Reboot and cool down your Mac.
53
+
4. Connect to the power adapter if you use MacBook.
51
54
52
55
## Running a test
53
56
54
-
1.Open `XcodeBenchmark.xcworkspace` (please do not confuse with `xcproject`).
55
-
2.Press `Command B` to start compilation.
56
-
57
-
**Important: Start compilation as quickly as possible once you opened a project**
57
+
1.Drag & drop `XcodeBenchmark` folder to `Terminal` app.
58
+
2.Run `sh benchmark.sh` in `Terminal`.
59
+
3. When `XcodeBenchmark` is complited you will see [this information](img/contribution-example.png).
60
+
4. Upload your results, see [Contribution](https://github.com/devMEremenko/XcodeBenchmark#contribution) section.
58
61
59
62
## FAQ
60
63
61
64
**Q: What's inside?**
62
65
63
-
The framework that incudes**42** popular CocoaPods libraries and **70+** dependencies in total.
66
+
A framework that includes**42** popular CocoaPods libraries and **70+** dependencies in total.
@@ -80,7 +83,7 @@ The framework that incudes **42** popular CocoaPods libraries and **70+** depend
80
83
81
84
**Q: What do the results mean?**
82
85
1. First of all, the project is **huge**. I think the majority of projects have a smaller size.
83
-
2. The results show *relative* performance in Xcode compared to other Macs under the same conditions.
86
+
2. The results show *relative* performance in Xcode compared to other Macs under similar conditions.
84
87
85
88
**Q: Why is CocoaPods not excluded from git-repo?**
86
89
- The project is also used by non-programmers. Let's *keep it simple*.
@@ -94,7 +97,7 @@ Make sure:
94
97
-[All steps](https://github.com/devMEremenko/XcodeBenchmark#before-each-test) are performed
95
98
-`Time` column is still sorted after insertion.
96
99
- You are added to the end of the [Contributors](https://github.com/devMEremenko/XcodeBenchmark#contributors) list.
97
-
- Attach a screenshot of the Xcode progress bar with a compilation time. [Example](https://user-images.githubusercontent.com/1449655/92333170-05f3f200-f073-11ea-94be-e0a41be5aae4.png).
100
+
- Attach a screenshot with a compilation time. [Example](img/contribution-example.png).
98
101
- The content in cells is centered. You can use [this tool](https://www.tablesgenerator.com/markdown_tables) to edit a table.
99
102
- File -> Paste table data
100
103
- Select all cells -> Right click -> Text align -> Center
0 commit comments