Skip to content

Commit

Permalink
* Add file size to benchmark script
Browse files Browse the repository at this point in the history
* Reenable macOS TokamakDemo build in CI
  • Loading branch information
ezraberch committed May 31, 2022
1 parent 9db23c9 commit a08e0ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ jobs:
xcodebuild -version
# Make sure Tokamak can be built on macOS so that Xcode autocomplete works.
# Disable macOS builds until Monterey is available on GHA.
# xcodebuild -scheme TokamakDemo -destination 'generic/platform=macOS' \
# CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | \
# xcpretty --color
xcodebuild -scheme TokamakDemo -destination 'generic/platform=macOS' \
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | \
xcpretty --color
cd "NativeDemo"
xcodebuild -scheme iOS -destination 'generic/platform=iOS' \
Expand Down
2 changes: 2 additions & 0 deletions benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
set -eux

swift build -c release --product TokamakCoreBenchmark
stat -f "TokamakCoreBenchmark: %z bytes" ./.build/release/TokamakCoreBenchmark
./.build/release/TokamakCoreBenchmark
swift build -c release --product TokamakStaticHTMLBenchmark
stat -f "TokamakStaticHTMLBenchmark: %z bytes" ./.build/release/TokamakStaticHTMLBenchmark
./.build/release/TokamakStaticHTMLBenchmark

0 comments on commit a08e0ad

Please sign in to comment.