Skip to content

feat: tailcall implementation #17

feat: tailcall implementation

feat: tailcall implementation #17

name: Benchmark PR
on:
pull_request:
paths: ["projects/**"]
types: [opened, reopened, synchronize, labeled]
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
benchmarks:
name: Run benchmarks for pr
if: "${{ contains(github.event.pull_request.labels.*.name, 'ci: benchmark') }}"
runs-on: benchmarking-runner
steps:
- uses: actions/checkout@v4
- name: Install Stable Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install Wrk
run: sudo apt-get update && sudo apt-get install -y wrk
- name: Install Tools for reference implementation
run: npm i -g @tailcallhq/tailcall
- name: Build mock-server
run: cargo build -p mock-api --release
- name: Run Benchmarks
run: cargo run