Re: Prepare enabled pgbench - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Prepare enabled pgbench
Date
Msg-id 200211130220.gAD2K7J11712@candle.pha.pa.us
Whole thread Raw
In response to Re: Prepare enabled pgbench  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: Prepare enabled pgbench  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii wrote:
> > > Thanks. I can commit it for 7.4. BTW, it would be nice if we could
> > > have a switch to turn on/off PREPARE/EXECUTE in pgbench so that we
> > > could see how PRPARE/EXECUTE could improve the performance...
> > 
> > We could probably just run before-after patch tests to see the
> > performance change.  I am afraid adding that switch into the code may
> > make it messy.
> 
> But one of the purposes of pgbench is examining performance on
> different environments, doesn't it? I'm afraid hard coded
> PREPARE/EXECUTE makes it harder.

I was just thinking that pgbench is for measuring code changes, not for
testing changes _in_ pgbench.  Once we know the performance difference
for PERFORM, would we still keep the code in pgbench?  Maybe to test
later, I guess.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Prepare enabled pgbench
Next
From: Tatsuo Ishii
Date:
Subject: Re: Prepare enabled pgbench