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
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,31 +36,32 @@ 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.
41
40
42
41
## Before each test
43
42
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.
43
+
1. Disconnect the network cable and turn off WiFi.
44
+
2. Make sure to disable all software running at startup
45
+
- Go to `System Preferences` -> `Users and Groups` -> `User` -> `Login Items`.
46
+
- Empty the list.
47
+
3. Update `Energy Saver` settings
48
+
- Go to `System Preferences` -> `Energy Saver` -> `Turn display off` and set 15 min.
49
+
3. Reboot and cool down your Mac.
50
+
4. Connect to the power adapter if you use MacBook.
51
51
52
52
## Running a test
53
53
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**
54
+
1. Open the `Terminal` app.
55
+
2. Write `cd ` and drag & drop `XcodeBenchmark` folder to the `Terminal` app to form `cd path/to/xcode-benchmark`.
56
+
2. Run `sh benchmark.sh` in `Terminal`.
57
+
3. When `XcodeBenchmark` has completed you will see [this information](img/contribution-example.png).
58
+
4. Upload your results, see [Contribution](https://github.com/devMEremenko/XcodeBenchmark#contribution) section.
58
59
59
60
## FAQ
60
61
61
62
**Q: What's inside?**
62
63
63
-
The framework that incudes**42** popular CocoaPods libraries and **70+** dependencies in total.
64
+
A framework that includes**42** popular CocoaPods libraries and **70+** dependencies in total.
@@ -79,8 +80,8 @@ The framework that incudes **42** popular CocoaPods libraries and **70+** depend
79
80
| SUM: | 6231 | 157270 | 258605 | 790974 |
80
81
81
82
**Q: What do the results mean?**
82
-
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.
83
+
1. First of all, the project is **huge**. Most projects are of a much smaller size.
84
+
2. The results show *relative* performance in Xcode, compared to other Macs running under similar conditions.
84
85
85
86
**Q: Why is CocoaPods not excluded from git-repo?**
86
87
- The project is also used by non-programmers. Let's *keep it simple*.
@@ -94,7 +95,7 @@ Make sure:
94
95
-[All steps](https://github.com/devMEremenko/XcodeBenchmark#before-each-test) are performed
95
96
-`Time` column is still sorted after insertion.
96
97
- 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).
98
+
- Attach a screenshot with a compilation time. [Example](img/contribution-example.png).
98
99
- The content in cells is centered. You can use [this tool](https://www.tablesgenerator.com/markdown_tables) to edit a table.
99
100
- File -> Paste table data
100
101
- Select all cells -> Right click -> Text align -> Center
0 commit comments