Re: Performance difference between different versions of bash

2023-06-08 Thread alex xmb ratchev
On Thu, Jun 8, 2023, 21:09 alex xmb ratchev wrote: > > > On Thu, Jun 8, 2023, 14:16 wang yuhang via Bug reports for the GNU Bourne > Again SHell wrote: > >> Hi > > > hi , i made some optional benchmark code > it .. doesnt make much sense cause i too lately read / understood about > the time echo

Re: Performance difference between different versions of bash

2023-06-08 Thread alex xmb ratchev
On Thu, Jun 8, 2023, 14:16 wang yuhang via Bug reports for the GNU Bourne Again SHell wrote: > Hi hi , i made some optional benchmark code it .. doesnt make much sense cause i too lately read / understood about the time echo `date` part i originally when i tried there were weird bugs also one

Performance difference between different versions of bash

2023-06-08 Thread wang yuhang
Hi I found that there is a huge difference in performance between different versions of bash when there are a large number of environment variables in my system. The steps to reproduce are as follows?? $ for i in `seq 1`; do export TEST_ENV_$i=$i; done $ time echo `date` In bash-4.3, it