Skip to content

add: postgres benches #15

add: postgres benches

add: postgres benches #15

Workflow file for this run

on:
pull_request:
paths:
- "benches/*"
- "src/*"
- ".github/workflows/bench.yaml"
name: Benchmark
jobs:
benchmark:
name: Core Benchmarks
permissions:
pull-requests: write
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
env:
DATABASE_URL: postgres://postgres:postgres@localhost/postgres
steps:
- uses: actions/checkout@v4 # v4
- run: sqlite3 /tmp/test.db "create table foo (a int, b text)"
- uses: boa-dev/criterion-compare-action@v3
with:
branchName: ${{ github.base_ref }}