Skip to content

Commit 64882bc

Browse files
authored
Performance benchmark fix (#85)
Using just one machine for a better comparison.
1 parent 4301a95 commit 64882bc

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,7 @@ jobs:
7878

7979
# Performance tests:
8080
perf-ubuntu:
81-
runs-on: ${{ matrix.os }}
82-
env:
83-
CCACHE_TEMPDIR: /tmp/.ccache-temp
84-
strategy:
85-
fail-fast: false
86-
# max-parallel: 1 # Single threaded for now, because the jobs overwrite each other's data/bin/* files?
87-
matrix:
88-
os: [ubuntu-latest] #, ubuntu-18.04] # TODO: Consider(!) supporting the previous version.
89-
compiler: [clang] # gcc,
90-
options: ["", "--ffp"]
81+
runs-on: ubuntu-latest
9182
steps:
9283
- uses: actions/checkout@v1
9384
with:
@@ -108,14 +99,24 @@ jobs:
10899
- name: build & install the unmanaged dependencies
109100
run: util/deps-build.sh
110101
- name: build
111-
run: ./ci-default --compiler ${{ matrix.compiler }} --lto -j 1 ${{ matrix.options }} --native --unity --build-r
102+
run: ./ci-default --lto --native --build-r --unity
112103
- name: run demo
113-
run: ./ci-default --compiler ${{ matrix.compiler }} --lto ${{ matrix.options }} --native --unity --build-r --run-demo
104+
run: ./ci-default --lto --native --build-r --unity --run-demo
105+
- name: install benchmark deps
106+
run: pip3 install darts
114107
- name: benchmark across frameworks
115-
run: |
116-
pip3 install darts
117-
./ci-default --compiler ${{ matrix.compiler }} --lto ${{ matrix.options }} --native --unity --build-r --benchmark
118-
108+
run: ./ci-default --lto --native --build-r --unity --benchmark
109+
- name: benchmark across frameworks (retest)
110+
run: ./ci-default --lto --native --build-r --unity --benchmark
111+
- name: build ffp
112+
run: ./ci-default --lto --native --build-r --unity --ffp
113+
- name: run demo ffp
114+
run: ./ci-default --lto --native --build-r --unity --run-demo --ffp
115+
- name: benchmark across frameworks ffp
116+
run: ./ci-default --lto --native --build-r --unity --benchmark --ffp
117+
- name: benchmark across frameworks ffp (retest)
118+
run: ./ci-default --lto --native --build-r --unity --benchmark --ffp
119+
119120
build-macos:
120121
runs-on: ${{ matrix.os }}
121122
env:

0 commit comments

Comments
 (0)