You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,17 @@ with testgres.get_new_node('master') as master:
110
110
111
111
> Note: you could take a look at [`pg_pathman`](https://github.com/postgrespro/pg_pathman) to get an idea of `testgres`' capabilities.
112
112
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
+
113
124
## Authors
114
125
115
126
[Ildar Musin](https://github.com/zilder) <i.musin(at)postgrespro.ru> Postgres Professional Ltd., Russia
0 commit comments