feat: tailcall implementation #19
Workflow file for this run
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: 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 |