I tried this change on PostgreSQL (19devel) and ran a few simple tests using pgbench to see how it behaves in practice.
I used 10 clients and 4 threads and ran each test for 60 seconds.
From my runs, the original version was giving around ~663 TPS with ~15.07 ms latency. With the patched version, I observed TPS in the range of ~638–657, averaging around ~648 TPS, with latency slightly higher (~15.2–15.6 ms).