Re: Avoid multiple calls to memcpy (src/backend/access/index/genam.c)

Ranier Vilela <ranier.vf@gmail.com>

From: Ranier Vilela <ranier.vf@gmail.com>
To: lakshmi <lakshmigcdac@gmail.com>
Cc: Bryan Green <dbryan.green@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-23T11:12:08Z
Lists: pgsql-hackers
Hi.

Em seg., 23 de mar. de 2026 às 01:42, lakshmi <lakshmigcdac@gmail.com>
escreveu:

> Hi,
>
> Thanks for the reply.
>
> Here are the details of my test setup.
>
> I ran the tests on Debian Linux (6.1.0-10-amd64, x86_64) on an AMD Ryzen 5
> 7535U (6 cores / 12 threads).
>
Thanks for the tests.

>
> The PostgreSQL version was 19devel, built from source using gcc 12.2.0
> with enable-debug.
>
> For benchmarking, I used pgbench with the following command:
> pgbench -p 55432 -d postgres -c 10 -j 4 -T 60
>
> The database was initialized with scale factor 1 (pgbench -i). I ran
> multiple iterations for both the original and patched versions and compared
> TPS and latency across runs.
>
> All tests were done on the same system under similar conditions.
>
> Please let me know if you’d like me to try any other scenarios or provide
> more details.
>
Could you repeat the tests without enable-debug?

best regards,
Ranier Vilela