mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-11-25 11:56:15 +00:00
5d56a3785c
The postgres default port is 5432, so I suggest we default to the same, so that clients don't have to specify a port.
14 lines
195 B
Markdown
14 lines
195 B
Markdown
# Performance Testing
|
|
|
|
Setup database:
|
|
|
|
```
|
|
psql -h 127.0.0.1 -p 5432 < pg_bench_schema.sql
|
|
````
|
|
|
|
Run `pgbench`:
|
|
|
|
```console
|
|
pgbench -h 127.0.0.1 -p 5432 -f pg_bench_script.sql -c 10 -t 1000
|
|
```
|