Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 9 additions & 31 deletions .github/workflows/bench.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,20 @@
on:
pull_request:
paths:
- 'benches/*'
- 'src/*'
- '.github/workflows/bench.yaml'
- "benches/sqlite.rs"
- "src/*"
- ".github/workflows/bench.yaml"
name: Benchmark
jobs:
storageBenchmark:
name: Storage Benchmarks
permissions:
benchmark:
name: Core Benchmarks

permissions:
pull-requests: write
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
mysql:
image: mysql:8
env:
MYSQL_DATABASE: test
MYSQL_USER: test
MYSQL_PASSWORD: test
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
env:
POSTGRES_URL: postgres://postgres:postgres@localhost/postgres
MYSQL_URL: mysql://test:test@localhost/test
REDIS_URL: redis://127.0.0.1/
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- 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 }}
Loading
Loading