Skip to content

kokizzu/pgx-pq-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGX and PQ Example

alias time='/usr/bin/time -f "\nCPU: %Us\tReal: %es\tRAM: %MKB"'

docker-compose up

go mod tidy

go test -v

=== RUN   TestPgx
=== RUN   TestPgx/insert
=== RUN   TestPgx/update
1000
PGX 857.408967ms
--- PASS: TestPgx (0.86s)
    --- PASS: TestPgx/insert (0.81s)
    --- PASS: TestPgx/update (0.03s)
=== RUN   TestPq
=== RUN   TestPq/insert
=== RUN   TestPq/update
1000
PQ 3.399219416s
--- PASS: TestPq (3.40s)
    --- PASS: TestPq/insert (3.14s)
    --- PASS: TestPq/update (0.24s)
PASS
ok      pgx_pq_example  4.261s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published