postgres_bench

command module
v0.0.0-...-e0cd53d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 14 Imported by: 0

README

Postgres Bench

A repository to benchmark Postgres driver for Golang.

Setting up Postgres

  1. Connect to Postgres as an admin: sudo -l postgres psql
  2. Create an user and a database for the application:
CREATE DATABASE postgres_bench;
CREATE USER postgres_bench PASSWORD 'postgres_bench';
ALTER DATABASE postgres_bench OWNER TO postgres_bench;
  1. fill the database: go run .

Running the benchmark

Use the Go benchmark program: go test -bench .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
db
pgx
pq
Package decoder implements a simple decoder for wiki pages.
Package decoder implements a simple decoder for wiki pages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL