-
Notifications
You must be signed in to change notification settings - Fork 148
27 lines (24 loc) · 1.03 KB
/
ci-docker-tfb-benchmark.yml
File metadata and controls
27 lines (24 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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