Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit06558f4

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

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+
unlessdefined$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)

[8]ページ先頭

©2009-2025 Movatter.jp