summaryrefslogtreecommitdiff
path: root/client/utils
AgeCommit message (Collapse)Author
2019-05-23Update client code to install specific componentsMark Wong
The pgbench directory and other utilities have moved around. Compensate by testing if the directory exists and try to install that component.
2018-07-18Save postgres branch, commit, and settings in results jsonMark Wong
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.
2018-01-05Stop storing log files as jsonMark Wong
Keep the json results document small by saving log information externally. This include: * postgres log * pgbench output * sar output
2018-01-05Fix use of env in call()Mark Wong
The env parameter to call() was clearing the PATH environment to only have the postgres binary install path. Modify only the PATH environment.
2017-12-19Install pgbench from contrib for older versionsMark Wong
Prior to 9.5, pgbench was in contrib.
2017-12-19Alter postgres options on the command lineMark Wong
This allows testing of older versions of postgres. Otherwise only versions of postgres supporting ALTER SYSTEM (9.4+) will work with this client.
2017-08-04pep8 coding styleMark Wong
2017-02-27explicitly flush stdout in log()Tomas Vondra
Otherwise the messages may get buffered for a quite long time, which is annoying, particularly in multi-process system.
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-27Fix CWD when running 'git pull', fix parameters.Tomas Vondra
When refreshing a reporitory clone, running 'git pull $dir' does not do the trick - it assumes the CWD is the clone, and imports data from repository at $dir. So we need to set CWD properly and do just 'git pull'. Also, prefix class members with 'self'.
2017-02-27Import initial version of the clientTomas Vondra