ci: run benchmarks in ci #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarking code | |
on: | |
- push | |
jobs: | |
run-unit-benchmarks: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ["1.10.15", "2.10.6", "2.11.0", "2.11.2"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: tarantool/setup-tarantool@v3 | |
with: | |
tarantool-version: '${{matrix.version}}' | |
- name: install luabench | |
run: tarantoolctl rocks --server https://moonlibs.org install luabench 0.3.0 | |
- name: run benchmarks | |
env: | |
LUABENCH_USE_BMF: false | |
LUABENCH_TIMEOUT: 60 | |
LUABENCH_DURATION: '10s' | |
run: | | |
.rocks/bin/luabench |