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

Appearance settings

Commit 06558f4

Browse filesBrowse 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
Copy full SHA for 06558f4

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/test/perl/PostgreSQL/Test/Utils.pm
+5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.