Skip to content

make hide addresses a runtime option (#61) #38

make hide addresses a runtime option (#61)

make hide addresses a runtime option (#61) #38

Workflow file for this run

name: Benchmark
on:
push:
branches:
- main
permissions:
contents: write
deployments: write
jobs:
benchmark:
name: Run tracing benchmark
runs-on: ubuntu-24.04
timeout-minutes: 10
env:
CC: clang
CXX: clang++
steps:
- uses: actions/checkout@v4
- name: get cmake
uses: lukka/get-cmake@latest
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.cc }}
- name: cmake
shell: bash
run: |
cmake -DCMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -DENABLE_BENCHMARKS=ON -DENABLE_LOGGING=OFF ${{ matrix.flags }} -G Ninja -S . -B .
- name: build
shell: bash
run: |
cmake --build . --target all
- name: test
shell: bash
run: |
./nautilus/test/benchmark/nautilus-tracing-benchmarks | tee benchmark_result.txt
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: Tracing Benchmark
tool: 'catch2'
output-file-path: benchmark_result.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: '200%'
comment-on-alert: false
fail-on-alert: false
alert-comment-cc-users: '@ktrz'
gh-pages-branch: 'pages'