Re: Has gen_random_uuid() gotten much slower in v17?

2024-11-20 Thread Tom Lane
[ please don't top-quote, it makes the conversation hard to follow ] David Mullineux writes: > On Wed, 20 Nov 2024, 15:46 Tom Lane, wrote: >> Yeah. Also, are you building with openssl, or not? > No, not at all! If you're not using openssl, then gen_random_uuid basically devolves to a read of

Re: Has gen_random_uuid() gotten much slower in v17?

2024-11-20 Thread David Mullineux
No, not at all! On Wed, 20 Nov 2024, 15:46 Tom Lane, wrote: > =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Yhuel?= writes: > > On 9/11/24 12:47, David Mullineux wrote: > >> This feels like a build configuration problem. Just can't put my finger > >> on it yet. > > > Why not using a profiler to see what's going

Re: Has gen_random_uuid() gotten much slower in v17?

2024-11-20 Thread Tom Lane
=?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Yhuel?= writes: > On 9/11/24 12:47, David Mullineux wrote: >> This feels like a build configuration problem. Just can't put my finger >> on it yet. > Why not using a profiler to see what's going on? Yeah. Also, are you building with openssl, or not?

Re: Has gen_random_uuid() gotten much slower in v17?

2024-11-20 Thread Frédéric Yhuel
On 9/11/24 12:47, David Mullineux wrote: Good idea. Thanks.    I did check. It's not enabled by default but just in case I did another build. This time explicitly defining --disable- debug and --disable-cassert. And I tested. Still slower than old versions. 4.5 seconds is very surprising.