Fixed issues highlighted by cppcheck/ASAN [docker_verify] #439
This file contains hidden or 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: Benchmark docker image for TE | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| # This is what will cancel the workflow | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: "contains(github.event.head_commit.message, '[docker_bench]')" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build and benchmark the ffead-cpp-7.0 base docker image | |
| run: | | |
| git clone https://github.com/TechEmpower/FrameworkBenchmarks | |
| cd docker/te/ | |
| cp -rf benchmark_config.json postgresql base/*.dockerfile lang/*.dockerfile scripts/*.sh *.sh *.dockerfile ../../FrameworkBenchmarks/frameworks/C++/ffead-cpp/ | |
| cd ../../FrameworkBenchmarks | |
| ./tfb --mode benchmark --test just ntex h2o wizzardo-http ffead-cpp-v-picov ffead-cpp-postgresql-raw-profiled ffead-cpp-postgresql-raw-async-profiled ffead-cpp-postgresql-wire-profiled ffead-cpp-postgresql-wire-async-profiled | |
| cd results/20* && cat results.json |