summaryrefslogtreecommitdiff
path: root/client/utils/misc.py
AgeCommit message (Collapse)Author
2018-01-31Add support for FreeBSDMark Wong
The memory calculations for pgbench will need to be platform specific. Also the system data collection may have to be platform specific. Thus far, just added conditions so that things will run on FreeBSD now.
2017-08-04pep8 coding styleMark Wong
2017-02-27open connections in a way resilient to temporary failuresTomas Vondra
In case of connection failure (e.g. a backend getting terminated by OOM killer and taking down the whole server), the workers failed with an exception without putting a result into the queue, leading to hangs. This fixes that by making the workers resilient to connection issues by catching the exceptions and terminating nicely. Also, we retry connection several times, to continue with benchmarking even after OOM hits us unexpectedly, etc.
2017-02-27Import initial version of the clientTomas Vondra