Re: I installed openSUSE Leap

Liste des GroupesRevenir à col advocacy 
Sujet : Re: I installed openSUSE Leap
De : nospam (at) *nospam* dfs.com (DFS)
Groupes : comp.os.linux.advocacy
Date : 20. Oct 2024, 16:41:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vf38aj$f7na$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
User-Agent : Betterbird (Windows)
On 10/19/2024 9:46 PM, Lawrence D'Oliveiro 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?  YOU could brush YOUR tooth while waiting for that slug to finish.
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!
PowerShell
-------------------------------------------------------------------------
PS D:\temp> md temp_txt
PS D:\temp> cd temp_txt
PS D:\temp\temp_txt> Measure-Command {for($i=1;$i -le 100000;$i++){New-Item "file$i.txt" -ItemType File}}
TotalSeconds      : 21.1754938
PS D:\temp\temp_txt> cd..
PS D:\temp> Measure-Command { Remove-Item -Recurse -Force "temp_txt\" }
TotalSeconds      : 10.5104128
-------------------------------------------------------------------------
Total: 32 seconds
Windows Python and Windows cmd
-------------------------------------------------------------------------
D:\temp$ md temp_txt
for n in range(100000):
     with open('D:\temp\temp_txt\file_' + str(n) + '.txt', 'w') as f:
         f.write(str(n))
D:\temp$ ptime python createfiles.py
16.648 seconds
D:\temp$ ptime rd /s /q "temp_txt"
6.705 seconds
-------------------------------------------------------------------------
Total: 23 seconds

On 10/19/2024 6:12 PM, Lawrence D'Oliveiro wrote:
>
The Steam Deck is eating Windows’ lunch.
>
There would be no Steam Deck if Valve didn't grow so big and profitable
on the backs of Windows gamers.
 You make it sound like Microsoft is letting Linux win out of the
goodness of its heart.
Linux generally can't beat Windows fairly, because it's always been given away for free.  That's how it killed off Unix.

Face it, Windows cannot compete in anything mobile-related.
Linux cannot compete when people have a choice of what to buy and use.

Date Sujet#  Auteur
16 Oct 24 * Re: I installed openSUSE Leap77Lawrence D'Oliveiro
16 Oct 24 +* Re: I installed openSUSE Leap45Joel
17 Oct 24 i`* Re: I installed openSUSE Leap44DFS
17 Oct 24 i +- Re: I installed openSUSE Leap1Joel
17 Oct 24 i +* Re: I installed openSUSE Leap6rbowman
17 Oct 24 i i`* Re: I installed openSUSE Leap5DFS
17 Oct 24 i i +* Re: I installed openSUSE Leap2rbowman
20 Oct 24 i i i`- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
18 Oct 24 i i `* Re: I installed openSUSE Leap2candycanearter07
18 Oct 24 i i  `- Re: I installed openSUSE Leap1Chris Ahlstrom
17 Oct 24 i +* Re: I installed openSUSE Leap3DFS
17 Oct 24 i i+- Re: I installed openSUSE Leap1Joel
19 Oct 24 i i`- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
19 Oct 24 i `* Re: I installed openSUSE Leap33Lawrence D'Oliveiro
19 Oct 24 i  +* Re: I installed openSUSE Leap31Joel
19 Oct 24 i  i`* Re: I installed openSUSE Leap30Lawrence D'Oliveiro
19 Oct 24 i  i `* Re: I installed openSUSE Leap29Joel
20 Oct 24 i  i  `* Re: I installed openSUSE Leap28Lawrence D'Oliveiro
20 Oct 24 i  i   `* Re: I installed openSUSE Leap27rbowman
20 Oct 24 i  i    `* Re: I installed openSUSE Leap26Lawrence D'Oliveiro
20 Oct 24 i  i     `* Re: I installed openSUSE Leap25rbowman
20 Oct 24 i  i      +* Re: I installed openSUSE Leap20DFS
21 Oct 24 i  i      i+- Re: I installed openSUSE Leap1rbowman
21 Oct 24 i  i      i`* Re: I installed openSUSE Leap18Lawrence D'Oliveiro
21 Oct 24 i  i      i `* Re: I installed openSUSE Leap17DFS
21 Oct 24 i  i      i  +- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
25 Oct 24 i  i      i  `* Re: I installed openSUSE Leap15Stéphane CARPENTIER
25 Oct 24 i  i      i   +* Re: I installed openSUSE Leap11DFS
26 Oct 24 i  i      i   i+* Re: I installed openSUSE Leap3rbowman
26 Oct 24 i  i      i   ii+- Re: I installed openSUSE Leap1RonB
28 Oct 24 i  i      i   ii`- Re: I installed openSUSE Leap1Physfitfreak
26 Oct 24 i  i      i   i`* Re: I installed openSUSE Leap7Stéphane CARPENTIER
27 Oct 24 i  i      i   i +* Re: I installed openSUSE Leap3rbowman
27 Oct 24 i  i      i   i i+- Re: I installed openSUSE Leap1Chris Ahlstrom
27 Oct 24 i  i      i   i i`- Re: I installed openSUSE Leap1Stéphane CARPENTIER
27 Oct 24 i  i      i   i `* Re: I installed openSUSE Leap3Lawrence D'Oliveiro
27 Oct 24 i  i      i   i  `* Re: I installed openSUSE Leap2rbowman
27 Oct 24 i  i      i   i   `- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
26 Oct 24 i  i      i   `* Re: I installed openSUSE Leap3Lawrence D'Oliveiro
26 Oct 24 i  i      i    `* Re: I installed openSUSE Leap2rbowman
27 Oct 24 i  i      i     `- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
21 Oct 24 i  i      +* Re: I installed openSUSE Leap2Lawrence D'Oliveiro
21 Oct 24 i  i      i`- Re: I installed openSUSE Leap1Chris Ahlstrom
21 Oct 24 i  i      `* Re: I installed openSUSE Leap2Chris Ahlstrom
21 Oct 24 i  i       `- Re: I installed openSUSE Leap1rbowman
21 Oct 24 i  `- Re: I installed openSUSE Leap1DFS
17 Oct 24 +* Re: I installed openSUSE Leap30DFS
17 Oct 24 i+* Re: I installed openSUSE Leap4candycanearter07
17 Oct 24 ii`* Re: I installed openSUSE Leap3DFS
18 Oct 24 ii `* Re: I installed openSUSE Leap2Lawrence D'Oliveiro
18 Oct 24 ii  `- Re: I installed openSUSE Leap1candycanearter07
18 Oct 24 i`* Re: I installed openSUSE Leap25Lawrence D'Oliveiro
18 Oct 24 i `* Re: I installed openSUSE Leap24DFS
18 Oct 24 i  +* Re: I installed openSUSE Leap4Joel
18 Oct 24 i  i+* Re: I installed openSUSE Leap2Chris Ahlstrom
18 Oct 24 i  ii`- Re: I installed openSUSE Leap1Joel
18 Oct 24 i  i`- Re: I installed openSUSE Leap1DFS
19 Oct 24 i  +* Re: I installed openSUSE Leap18Lawrence D'Oliveiro
19 Oct 24 i  i`* Re: I installed openSUSE Leap17DFS
19 Oct 24 i  i +* Re: I installed openSUSE Leap12Lawrence D'Oliveiro
20 Oct 24 i  i i`* Re: I installed openSUSE Leap11DFS
20 Oct 24 i  i i `* Re: I installed openSUSE Leap10Lawrence D'Oliveiro
20 Oct 24 i  i i  `* Re: I installed openSUSE Leap9DFS
21 Oct 24 i  i i   `* Re: I installed openSUSE Leap8Lawrence D'Oliveiro
21 Oct 24 i  i i    +- Re: I installed openSUSE Leap1Chris Ahlstrom
24 Oct 24 i  i i    `* Re: I installed openSUSE Leap6DFS
25 Oct 24 i  i i     +- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
25 Oct 24 i  i i     +* Re: I installed openSUSE Leap2DFS
25 Oct 24 i  i i     i`- Re: I installed openSUSE Leap1DFS
25 Oct 24 i  i i     `* Re: I installed openSUSE Leap2rbowman
26 Oct 24 i  i i      `- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
21 Oct 24 i  i `* Re: I installed openSUSE Leap4candycanearter07
21 Oct 24 i  i  `* Re: I installed openSUSE Leap3candycanearter07
21 Oct 24 i  i   `* Re: I installed openSUSE Leap2Chris Ahlstrom
22 Oct 24 i  i    `- Re: I installed openSUSE Leap1Chris Ahlstrom
19 Oct 24 i  `- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
17 Oct 24 `- Re: I installed openSUSE Leap1Chris Ahlstrom

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal