0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-11-21 20:26:14 +00:00
libsql/libsql-server/perf/pgbench
Glauber Costa 5d56a3785c change postgres' default port
The postgres default port is 5432, so I suggest we default to the same,
so that clients don't have to specify a port.
2023-01-13 12:19:22 -05:00
..
pg_bench_schema.sql Add pgbench performance testing scripts 2022-12-01 14:39:36 +02:00
pg_bench_script.sql Add pgbench performance testing scripts 2022-12-01 14:39:36 +02:00
README.md change postgres' default port 2023-01-13 12:19:22 -05:00

Performance Testing

Setup database:

psql -h 127.0.0.1 -p 5432 < pg_bench_schema.sql

Run pgbench:

pgbench -h 127.0.0.1 -p 5432 -f pg_bench_script.sql -c 10 -t 1000