Skip to content

Commit 7461ff4

Browse files
committed
updates
1 parent 5d83420 commit 7461ff4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/perf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: actions/checkout@master
1111
with:
1212
fetch-depth: 1
13-
- name: Install Swift
13+
- name: Run Benchmark
1414
run: |
1515
git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
1616
export SWIFTENV_ROOT="$HOME/.swiftenv"

perf-tester/src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function parse(benchmarkData) {
3232
const benchmarks = Object.create(null)
3333
for (let i = 0; i < lines.length - 1; i += 2) {
3434
const [, name] = firstLineRe.exec(lines[i])
35-
const [, time] = secondLineRe.exec(lines[i])
35+
const [, time] = secondLineRe.exec(lines[i + 1])
3636
benchmarks[name] = parseFloat(time)
3737
}
3838
return benchmarks

0 commit comments

Comments
 (0)