Re: program gets faster when it outputs more on stderr

2018-06-07 Thread Mike Jonkmans
On Sat, Mar 10, 2018 at 04:50:22PM -0500, Chet Ramey wrote: > On 3/10/18 9:46 AM, bash...@jonkmans.nl wrote: > > > Bash Version: 4.4 > > Patch Level: 12 > > Release Status: release > > > > Description: > > When a function is ran in a subshell environment (via backticks), > > the program r

Re: program gets faster when it outputs more on stderr

2018-03-13 Thread Robert Elz
Date:Sat, 10 Mar 2018 15:46:41 +0100 (CET) From:bash...@jonkmans.nl Message-ID: <20180310144641.62962cc0...@sint.jonkmans.nl> First: | Note that when the fast version is ran with 2>/dev/null, | it also performs slowly. This is not unexpected, and probably

Re: program gets faster when it outputs more on stderr

2018-03-10 Thread Chet Ramey
On 3/10/18 9:46 AM, bash...@jonkmans.nl wrote: > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Description: > When a function is ran in a subshell environment (via backticks), > the program runs faster when that function also writes to stderr. I don't get these re

program gets faster when it outputs more on stderr

2018-03-10 Thread bashbug
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA