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
-
Notifications
You must be signed in to change notification settings - Fork 0
kokizzu/pgx-pq-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published