Re: I installed openSUSE Leap

Liste des GroupesRevenir à col advocacy 
Sujet : Re: I installed openSUSE Leap
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacy
Date : 25. Oct 2024, 00:08:52
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfek23$2qk0v$14@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 24 25 26
User-Agent : Pan/0.160 (Toresk; )
On Thu, 24 Oct 2024 17:58:41 -0400, DFS wrote:

    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
>
Do you want me to try it again?
 
No need.  It's proven to be an inferior solution here.

Here is a faster version.

    ldo@theon:test> time for i in $(seq 1 99998); do fn=$(printf %0.5d.png $i); echo >$fn; done

    real    1m22.733s
    user    0m47.151s
    sys     0m38.177s

Why is it faster? Because the “touch” command is an external program.
So the previous version was doing close to 100,000 executions of an
external program, creating a new process each time, which added about
100 seconds to the elapsed time. That’s 1000 program executions, i.e.
1000 new processes, per second.

How long do you think your Windows system would take to create a new
process to execute an external program 100,000 times? Think it would
get anywhere close to 1000 process creations per second? Think it
would stay up till the end?

How’s it holding up so far? Did you have to do a reinstall
afterwards?
>
Win11 rocks.  It's EXTREMELY stable, and almost glitch-free.

I like that “almost” ...

Date Sujet#  Auteur
19 Oct 24 * Re: I installed openSUSE Leap18Lawrence D'Oliveiro
19 Oct 24 `* Re: I installed openSUSE Leap17DFS
19 Oct 24  +* Re: I installed openSUSE Leap12Lawrence D'Oliveiro
20 Oct 24  i`* Re: I installed openSUSE Leap11DFS
20 Oct 24  i `* Re: I installed openSUSE Leap10Lawrence D'Oliveiro
20 Oct 24  i  `* Re: I installed openSUSE Leap9DFS
21 Oct 24  i   `* Re: I installed openSUSE Leap8Lawrence D'Oliveiro
21 Oct 24  i    +- Re: I installed openSUSE Leap1Chris Ahlstrom
24 Oct 24  i    `* Re: I installed openSUSE Leap6DFS
25 Oct 24  i     +- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
25 Oct 24  i     +* Re: I installed openSUSE Leap2DFS
25 Oct 24  i     i`- Re: I installed openSUSE Leap1DFS
25 Oct 24  i     `* Re: I installed openSUSE Leap2rbowman
26 Oct 24  i      `- Re: I installed openSUSE Leap1Lawrence D'Oliveiro
21 Oct 24  `* Re: I installed openSUSE Leap4candycanearter07
21 Oct 24   `* Re: I installed openSUSE Leap3candycanearter07
21 Oct 24    `* Re: I installed openSUSE Leap2Chris Ahlstrom
22 Oct 24     `- Re: I installed openSUSE Leap1Chris Ahlstrom

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal