Skip to content

Commit 4f0408d

Browse files
authored
Run 4 perf tests instead of 2 (#80)
* Run Prettier * Average over four tests instead of two * More advanced algorithm * spelling * Return the results * Update index.js * Update index.js
1 parent 42ae818 commit 4f0408d

File tree

4 files changed

+378
-338
lines changed

4 files changed

+378
-338
lines changed

.github/workflows/perf.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ jobs:
66
perf:
77
runs-on: Ubuntu-18.04
88
steps:
9-
- name: Checkout
10-
uses: actions/checkout@master
11-
with:
12-
fetch-depth: 1
13-
- name: Run Benchmark
14-
run: |
15-
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
16-
export SWIFTENV_ROOT="$HOME/.swiftenv"
17-
export PATH="$SWIFTENV_ROOT/bin:$PATH"
18-
eval "$(swiftenv init -)"
19-
swiftenv install $TOOLCHAIN_DOWNLOAD
20-
make perf-tester
21-
node ci/perf-tester
22-
env:
23-
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
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9+
- name: Checkout
10+
uses: actions/checkout@master
11+
with:
12+
fetch-depth: 1
13+
- name: Run Benchmark
14+
run: |
15+
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
16+
export SWIFTENV_ROOT="$HOME/.swiftenv"
17+
export PATH="$SWIFTENV_ROOT/bin:$PATH"
18+
eval "$(swiftenv init -)"
19+
swiftenv install $TOOLCHAIN_DOWNLOAD
20+
make perf-tester
21+
node ci/perf-tester
22+
env:
23+
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
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Unreleased
22

3-
43
# 0.7.0 (25 September 2020)
54

65
This release adds multiple new types bridged from JavaScript, namely `JSError`, `JSDate`, `JSTimer` (which corresponds to `setTimeout`/`setInterval` calls and manages closure lifetime for you), `JSString` and `JSPromise`. We now also have [documentation published automatically](https://swiftwasm.github.io/JavaScriptKit/) for the main branch.

0 commit comments

Comments
 (0)