Re: New features for pgbench

From: "Takayuki Tsunakawa" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
To: "Greg Smith" <gsmith(at)gregsmith(dot)com>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: New features for pgbench
Date: 2007-02-13 00:14:16
Message-ID: 00fd01c74f03$e6620c30$19527c0a@OPERAO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hello, Greg-san

> The attached adds two new command line switches to pgbench:

If you are OK, could you make the measurement of time on Windows more
precise? The Win32 APIs that pgbench is using for gettimeofday() (in
src/port/gettimeofday.c) is much lower in resolution than Linux. The
Win32 APIs provide about 15 milliseconds resolution, so I run
pgbench -c1 -t16000 the response times of more than 10000 transactions
are 0. In contrast, Linux provides microssecond resolution.
Please excuse me for making an unrelated request, but this seems to be
a good chance...

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Smith 2007-02-13 01:12:34 Re: New features for pgbench
Previous Message Anthony Taylor 2007-02-12 23:59:31 BUG #2996: to_char( timestamp, 'DD-Mon-YYYY HH24:MI:SS.MS' ) reports .1000 ms