Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit b0da993

Browse files
committed
Fix benchmark scripts.
1 parent abd5456 commit b0da993

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

‎benchmarks/benchmark-appium.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ xcodebuild -project "../Contacts.xcodeproj" \
1010

1111
cd "../appium" && bundle exec cucumber
1212

13+
END=$(date +%s)
14+
DIFF=$(echo "$END - $START" | bc)
15+
1316
echo "Time elapsed: $DIFF"

‎benchmarks/benchmark-calabash.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ xcodebuild -project "../Contacts.xcodeproj" \
1010

1111
cd "../calabash" && APP="../Build/Products/Debug-iphonesimulator/Contacts-cal.app" bundle exec cucumber
1212

13+
END=$(date +%s)
14+
DIFF=$(echo "$END - $START" | bc)
15+
1316
echo "Time elapsed: $DIFF"

‎benchmarks/benchmark-ui-automation.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ xcodebuild -project "../Contacts.xcodeproj" \
88
-derivedDataPath "../build" \
99
build
1010

11-
cd "../ui-automation" && ./run-tests.sh "../build/Products/Debug-iphonesimulator/Contacts-test.app" "iPhone 6 (9.1)"
11+
cd "../ui-automation" && ./run-tests.sh "../build/Products/Debug-iphonesimulator/Contacts-test.app" "iPhone 5s (9.1)"
12+
13+
END=$(date +%s)
14+
DIFF=$(echo "$END - $START" | bc)
1215

1316
echo "Time elapsed: $DIFF"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /