mindex.c

In-memory ordered store and fetch library
git clone git://git.finwo.net/lib/mindex.c
Log | Files | Refs | README | LICENSE

commit 8b6bc0fc0643d51c3092c8aaf10718574136cfc5
parent e5e9ff4f0977dcab459c97e391fea4dfbd826104
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Sat, 25 Mar 2023 00:18:56 +0100

Add benchmarks for other configurations as well

Diffstat:
M.github/workflows/continuous-integration.yml | 54+++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 53 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml @@ -10,7 +10,18 @@ on: jobs: benchmark-default: - name: Test default + name: Benchmark default + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + - run : ./benchmark + + benchmark-os: + name: Benchmark -Os runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -18,6 +29,47 @@ jobs: - run : dep install - run : make clean - run : make + env: + CFLAGS: "-Wall -std=c99 -Os" + - run : ./benchmark + + benchmark-o1: + name: Benchmark -O1 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + env: + CFLAGS: "-Wall -std=c99 -O1" + - run : ./benchmark + + benchmark-o2: + name: Benchmark -O2 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + env: + CFLAGS: "-Wall -std=c99 -O2" + - run : ./benchmark + + benchmark-o3: + name: Benchmark -O3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + env: + CFLAGS: "-Wall -std=c99 -O3" - run : ./benchmark test-default: