Re: Speedup usages of pg_*toa() functions - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Speedup usages of pg_*toa() functions
Date
Msg-id 87pna87lnq.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Speedup usages of pg_*toa() functions  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Speedup usages of pg_*toa() functions  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
>>>>> "David" == David Rowley <dgrowleyml@gmail.com> writes:

 David> As you can see, this squeezes about 5% extra out of a copy of a
 David> 10 million row bigint table but costs us almost 3% on an
 David> equivalent int table.

And once again I have to issue the reminder: you can have gains or
losses of several percent on microbenchmarks of this kind just by
touching unrelated pieces of code that are never used in the test. In
order to demonstrate a consistent difference, you have to do each set of
tests multiple times, with random amounts of padding added to some
unrelated part of the code.

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: TAP tests and symlinks on Windows
Next
From: Peter Eisentraut
Date:
Subject: Re: TAP tests and symlinks on Windows