Skip to content

Commit b19d053

Browse files
committed
Improve docs
1 parent 227e051 commit b19d053

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎README.md

+11
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,17 @@ with testgres.get_new_node('master') as master:
110110

111111
> Note: you could take a look at [`pg_pathman`](https://.com/postgrespro/pg_pathman) to get an idea of `testgres`' capabilities.
112112
113+
### Benchmarks
114+
115+
`testgres` also can help you to make benchmarks using `pgbench` from postgres installation.
116+
117+
```
118+
with testgres.get_new_node('master') as master:
119+
master.init().start()
120+
p = master.pg_bench_init(scale=10).pgbench(options=['-T', '60'])
121+
p.wait()
122+
```
123+
113124
## Authors
114125

115126
[Ildar Musin](https://.com/zilder) <i.musin(at)postgrespro.ru> Postgres Professional Ltd., Russia

0 commit comments

Comments
 (0)