Deutsch   English   Français   Italiano  
<vf5cb2$t9to$9@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Chris Ahlstrom <OFeem1987@teleworm.us>
Newsgroups: comp.os.linux.advocacy
Subject: Re: I installed openSUSE Leap
Date: Mon, 21 Oct 2024 07:01:35 -0400
Organization: None
Lines: 49
Message-ID: <vf5cb2$t9to$9@dont-email.me>
References: <jct9bjtoqeqo2ukifpmpink1l4s8mm2vn0@4ax.com>
 <v93kj5$apkl$2@dont-email.me> <0slabj9bfe9bm2trmmovij11bmimlcl5d8@4ax.com>
 <v9acpj$2nbre$2@dont-email.me> <v9bl29$2upv2$2@dont-email.me>
 <8adfcjdihouf8tabefmo7rh9ir13umduio@4ax.com>
 <slrnvchoo2.1igm.candycanearter07@candydeb.host.invalid>
 <14phcjtg30t1245d0bl20i62sia79nuua3@4ax.com>
 <66c9aeea$0$3311$426a74cc@news.free.fr> <vaceui$1c0ks$8@dont-email.me>
 <66c9d0ec$0$3656$426a74cc@news.free.fr> <vacmng$1dcih$1@dont-email.me>
 <vfekcj9jnf6uuedptmovcp4qeqd72s7mbb@4ax.com> <vb76hm$3c61t$6@dont-email.me>
 <vepfhs$2e4fp$6@dont-email.me> <vepgtf$2e1cq$2@dont-email.me>
 <vet0l3$36dnf$1@dont-email.me> <vetsrh$3bnh5$1@dont-email.me>
 <veuvc1$3hnnq$4@dont-email.me> <vf0opg$3ue04$5@dont-email.me>
 <vf1arg$1uso$11@dont-email.me> <vf1l4a$3s1m$1@dont-email.me>
 <vf1ndu$444r$7@dont-email.me> <vf38aj$f7na$1@dont-email.me>
 <vf4ak9$kvdg$7@dont-email.me>
Reply-To: OFeem1987@teleworm.us
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 21 Oct 2024 13:01:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f205439ad5ad1b65ea229762b237b271";
	logging-data="960440"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18LMmA08nXMXeRRsv72WQxa"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:PVGktfPrLWD0QT6N+rV9mlWvELU=
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
 Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
 A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
X-Mutt: The most widely-used MUA
X-Slrn: Why use anything else?
Bytes: 3782

Lawrence D'Oliveiro wrote this copyrighted missive and expects royalties:

> On Sun, 20 Oct 2024 11:41:10 -0400, DFS wrote:
>
>> On 10/19/2024 9:46 PM, Lawrence D'Oliveiro wrote:
>>> On Sat, 19 Oct 2024 21:07:23 -0400, DFS wrote:
>>> On Sat, 19 Oct 2024 21:07:23 -0400, DFS wrote:
>>>
>>>> temp_txt folder containing 100K text files deleted in about 10 seconds
>>>
>>>      ldo@theon:hack> mkdir test
>>>      ldo@theon:hack> cd test
>>>      ldo@theon:test> time for i in $(seq 1 99998); do fn=$(printf %0.5d.png $i); touch $fn; done
>>>
>>>      real    3m9.451s
>>>      user    1m56.907s
>>>      sys     1m18.000s
>>>
>>>      ldo@theon:test> cd ..
>>>      ldo@theon:hack> time rm -rf test
>>>
>>>      real    0m0.817s
>>>      user    0m0.060s
>>>      sys     0m0.757s
>>>
>>> Any questions?
>> 
>> If you insist: why is bash so slow?
>
> That’s an easy one to answer. Do you want me to try it again?
>
>> On my Win11 AMD 5600G machine, to create and delete 100K files:
>>
>> WSL Ubuntu bash: 141.2s create,  1.4s delete, 142.6 total (your script)
>> PowerShell     :  21.2s create, 10.5s delete,  31.7 total Python + cmd  
>> :  16.6s create,  6.7s delete,  23.3 total
>> 
>> ouch!
>
> Going through the Windows filesystem bottleneck, naturally. Try it on
> a genuine Linux system, not on WSL2.

Now that I'm dual booting, I get a subjective view of speed on Windows 11 vs
Linux that confirms my impression of the slow Windows on my work laptop.

The things I put up with for software development!

-- 
Illiterate?  Write today, for free help!