Skip to content

Fix benchmark inconsistencies: sqlc, pgx, pgx_pool, sqlx (issue #97) #267

Fix benchmark inconsistencies: sqlc, pgx, pgx_pool, sqlx (issue #97)

Fix benchmark inconsistencies: sqlc, pgx, pgx_pool, sqlx (issue #97) #267

Workflow file for this run

on: [push, pull_request]
name: Benchmark
jobs:
Build:
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
services:
postgres:
image: 'postgres:latest'
ports:
- '5432:5432'
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: test
steps:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Build Benchmarker
run: go build main.go
- name: Run Benchmarker
run: ./main -source="host=localhost user=postgres password=postgres dbname=test sslmode=disable" -orm=all -debug=false