Skip to content

Commit 06558f4

Browse files
committed
Backport IPC::Run optimization to src/test/perl.
This one-liner makes the TAP portion of "make check-world" 7% faster on a non-Windows machine. Discussion: https://postgr.es/m/20240331050310.09@rfd.leadboat.com
1 parent 5bf748b commit 06558f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/perl/PostgreSQL/Test/Utils.pm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ Set to true when running under MSYS2.
189189

190190
INIT
191191
{
192+
# See https://github.com/cpan-authors/IPC-Run/commit/fc9288c for how this
193+
# reduces idle time. Remove this when IPC::Run 20231003.0 is too old to
194+
# matter (when all versions that matter provide the optimization).
195+
$SIG{CHLD} = sub { }
196+
unless defined $SIG{CHLD};
192197

193198
# Return EPIPE instead of killing the process with SIGPIPE. An affected
194199
# test may still fail, but it's more likely to report useful facts.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy