Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHyvk-0004lR-Hs for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jul 2015 18:39:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZHyvk-0005kD-3k for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Jul 2015 18:39:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZHyvj-0005hm-6K for pgsql-hackers@postgresql.org; Wed, 22 Jul 2015 18:39:47 +0000 Received: from boipeva.ensmp.fr ([194.214.158.136]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZHyvb-0005cw-Vx for pgsql-hackers@postgresql.org; Wed, 22 Jul 2015 18:39:45 +0000 Received: from cri.ensmp.fr (host162-162-static.42-85-b.business.telecomitalia.it [85.42.162.162]) (authenticated bits=0) by boipeva.ensmp.fr (8.15.1/8.15.1/JMMC-22/Oct/2013) with ESMTPSA id t6MIdMMx004194 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Jul 2015 20:39:24 +0200 Date: Wed, 22 Jul 2015 20:39:22 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@sto To: Josh Berkus cc: PostgreSQL Developers Subject: Re: pgbench stats per script & other stuff In-Reply-To: <55AFD8C6.8010507@agliodbs.com> Message-ID: References: <55AEDDA4.8020009@agliodbs.com> <55AFD8C6.8010507@agliodbs.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at boipeva.ensmp.fr with ID 55AFE35B.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID fabien.coelho X-j-chkmail-Enveloppe: 55AFE35B.000 from host162-162-static.42-85-b.business.telecomitalia.it/host162-162-static.42-85-b.business.telecomitalia.it/85.42.162.162/cri.ensmp.fr/ X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org > If so, I would vote for: > -f script1.bench:3 -f script2.bench:1 > over: > -f script1.bench -w 3 -f script2.bench -w 1 Ok, I'll take that into consideration. Any other opinion out there? The current v3 version is: -w 3 -f script1.bench -w 1 -f script2.bench With provision to generate errors if a -w is set but not used, in two case. - in the middle ... -w 4 -w 1 ... - in the end ... -w 1 I can provide -f x:weight easilly, but this mean that there will be no way to associate weight for internal scripts. Not orthogonal, not very elegant, but no big deal. > Oh, you misunderstand. "script1" and "script2" are meant to be > user-supplied names which then get reported in things like response time > output. They're labels. Ok, that is much better. This means that labels should not choose names which may interact with other commands, so maybe a list would have been nice as well. Anyway, I do not think it is the way to go just for this feature. -- Fabien. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers