pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Fabien COELHO <coelho@cri.ensmp.fr>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Subject: Re: pgbench - compute & show latency consistently
Date: Wed, 21 Sep 2016 13:30:27 +0300
Message-ID: <68f175fc-9a7d-825b-e573-63d998ced452@iki.fi> (raw)
In-Reply-To: <alpine.DEB.2.20.1607131015370.7486@sto>
References: <alpine.DEB.2.20.1607091035530.3412@sto>
	<dbddbaf3-0e93-044b-93ce-ded8d421f263@2ndquadrant.com>
	<alpine.DEB.2.20.1607131015370.7486@sto>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (9+ messages)  latest in thread

Message-ID: <68f175fc-9a7d-825b-e573-63d998ced452@iki.fi>
Permalink:  ../68f175fc-9a7d-825b-e573-63d998ced452@iki.fi/
Also on:    postgresql.org/message-id/68f175fc-9a7d-825b-e573-63d998ced452@iki.fi

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: hlinnaka@iki.fi, coelho@cri.ensmp.fr, peter.eisentraut@2ndquadrant.com
  Subject: Re: pgbench - compute & show latency consistently
  In-Reply-To: <68f175fc-9a7d-825b-e573-63d998ced452@iki.fi>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox