Re: usleep feature for pgbench
От | Alvaro Herrera |
---|---|
Тема | Re: usleep feature for pgbench |
Дата | |
Msg-id | 20070705214939.GE21455@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: usleep feature for pgbench (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: usleep feature for pgbench
|
Список | pgsql-hackers |
Tom Lane wrote: > Jan Wieck <JanWieck@Yahoo.com> writes: > > I think I've coded it in a way that if one doesn't use the \usleep > > command at all, it will never even call gettimeofday() and use a NULL > > timeout in select() as it used to. > > Did you check that the observed performance for non-usleep-using scripts > didn't change? If this extra overhead causes a reduction in reported > TPS rates it would make it hard to compare older and newer tests. I keep wondering, why is that important? If you want to compare results of different PG versions, surely you can run the tests with the newest version of pgbench? -- Alvaro Herrera http://www.flickr.com/photos/alvherre/ "Those who use electric razors are infidels destined to burn in hell while we drink from rivers of beer, download free vids and mingle with naked well shaved babes." (http://slashdot.org/comments.pl?sid=44793&cid=4647152)
В списке pgsql-hackers по дате отправления: