Re: pgbench - compute & show latency consistently - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pgbench - compute & show latency consistently
Date
Msg-id 68f175fc-9a7d-825b-e573-63d998ced452@iki.fi
Whole thread Raw
In response to Re: pgbench - compute & show latency consistently  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On 07/13/2016 11:39 AM, Fabien COELHO wrote:
>>>  number of transactions per client: 1000
>>> -latency average = 15.844 ms
>>> +latency average: 15.844 ms
>>>  tps = 618.764555 (including connections establishing)
>>
>> I think what you have here is that colons separate input parameters and
>> equal signs separate result output.  So I think it's OK the way it is.
>
> Hmmm... Then other measures displayed are not all consistent with this
> theory.
>
> Also there is still the bug under -t which displays a 0 latency.
>
> The attached patch still fixes that and make it consistent the other way
> around, i.e. by using "=" for latency. I switched to use ":" for weight
> which is an input parameter. I let ":" when there is a long sentence to
> describe the figure displayed, more on aesthetical grounds.

Committed, thanks!

- Heikki




pgsql-hackers by date:

Previous
From: Kuntal Ghosh
Date:
Subject: Re: pgbench - compute & show latency consistently
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgbench - compute & show latency consistently