brew install xcbeautify
brew install gh
gh repo clone wikimedia/wikipedia-ios
cd wikipedia-ios && git checkout cf727dfb2f3d51b728f6b1fe313eb66105df7a99
mkdir Firefox && cd Firefox && mkdir mozbuild
echo "export MOZBUILD_STATE_PATH=$(pwd)/mozbuild" > env.sh
source ./env.sh
brew install mercurial
curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O
python3 bootstrap.py
python3.9 ./mach bootstrap
cd mozilla-unified
time bash -c "xcodebuild -workspace Wikipedia.xcodeproj/project.xcworkspace -scheme Wikipedia -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12,OS=14.4' clean test | xcbeautify"
time bash -c "xcodebuild -workspace Wikipedia.xcodeproj/project.xcworkspace -scheme Wikipedia -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12,OS=14.4' clean build-for-testing | xcbeautify"
Machine info | Test name | User (s) | System (s) | CPU (%) | Total (s) |
---|---|---|---|---|---|
MacBook Air (M1, 2020) |
Test |
14.2 |
1.9 |
13 |
2:02 |
MacBook Air (M1, 2020) |
Build For Test |
9.6 |
0.8 |
12 |
1:22 |
MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports), 2.9 GHz Dual-Core Intel Core i5 |
Build For Test |
27.1 |
3 |
7 |
6:40 |
Machine info | Test name | User (s) | System (s) | CPU (%) | Total (s) |
---|---|---|---|---|---|
MacBook Air (M1, 2020) |
Firefox |
11520.3 |
555.97 |
661 |
29:15 |
MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports), 2.9 GHz Dual-Core Intel Core i5 |
Firefox |
24532.1 |
1229.3 |
361 |
1:58:42 |