Content-Length: 262857 | pFad | http://github.com/postgrespro/postgres/commit/06558f49529553aecb6ad52a0470d63cb59d7df9

3D Backport IPC::Run optimization to src/test/perl. · postgrespro/postgres@06558f4 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/06558f49529553aecb6ad52a0470d63cb59d7df9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy