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

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions 24 .github/workflows/perf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Performance

on: [pull_request]

jobs:
perf:
runs-on: Ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 1
- name: Run Benchmark
run: |
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
export SWIFTENV_ROOT="$HOME/.swiftenv"
export PATH="$SWIFTENV_ROOT/bin:$PATH"
eval "$(swiftenv init -)"
swiftenv install $TOOLCHAIN_DOWNLOAD
make perf-tester
node ci/perf-tester
env:
TOOLCHAIN_DOWNLOAD: https://github.com/swiftwasm/swift/releases/download/swift-wasm-5.3-SNAPSHOT-2020-08-10-a/swift-wasm-5.3-SNAPSHOT-2020-08-10-a-linux.tar.gz
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions 4 Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ benchmark_setup:
.PHONY: run_benchmark
run_benchmark:
cd IntegrationTests && make -s run_benchmark

.PHONY: perf-tester
perf-tester:
cd ci/perf-tester && npm install
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.