Re: filling area by color atack safety

Liste des GroupesRevenir à cl c 
Sujet : Re: filling area by color atack safety
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.c
Date : 09. Apr 2024, 10:32:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86y19m285s.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Michael S <already5chosen@yahoo.com> writes:

On Sat, 30 Mar 2024 21:15:06 +0300
Michael S <already5chosen@yahoo.com> wrote:
>
On Fri, 29 Mar 2024 23:58:26 -0700
Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>
One, the new code is a lot more complicated than the previous
code.  I'm not sure the performance gain is worth the cost
in complexity.  What kind of speed improvements do you see,
in terms of percent?
>
On my 11 y.o.  and not top-of-the-line even then home PC for 4K
image (3840 x 2160) with cross-in-cross shape that I took from one of
your previous post, it is 2.43 times faster.
I don't remember how it compares on more modern systems.  Anyway, right
now I have no test systems more modern than 3 y.o.  Zen3.
>
I tested on newer hardware - Intel Coffee Lake (Xeon-E 2176G) and AMD
Zen3 (EPYC 7543P).
Here I no longer see significant drop in speed of the 1x1 variant at 4K
size, but I still see that more complicated variant provides nice speed
up.  Up to 1.56x on Coffee Lake and up to 3x on Zen3.

On my test system the numbers are closer and also more evenly
balanced:  ratios range from about 0.70 to about 1.40, roughly
evenly split with the 2x2 version somewhat better.  There was
one outlier at approximately 1.48.  More precisely, the ratios
have an average of 1.06 (which means the 1x1 version is about
6 percent slower on average), with a standard deviation of 0.21.

Date Sujet#  Auteur
24 Mar 24 * Re: filling area by color atack safety16Michael S
24 Mar 24 `* Re: filling area by color atack safety15Tim Rentsch
24 Mar 24  +- Re: filling area by color atack safety1Chris M. Thomasson
24 Mar 24  `* Re: filling area by color atack safety13Michael S
26 Mar 24   +* Re: filling area by color atack safety4Michael S
30 Mar 24   i`* Re: filling area by color atack safety3Tim Rentsch
30 Mar 24   i `* Re: filling area by color atack safety2Michael S
9 Apr 24   i  `- Re: filling area by color atack safety1Tim Rentsch
29 Mar 24   `* Re: filling area by color atack safety8Tim Rentsch
29 Mar 24    `* Re: filling area by color atack safety7Michael S
30 Mar 24     +* Re: filling area by color atack safety5Tim Rentsch
30 Mar 24     i`* Re: filling area by color atack safety4Michael S
31 Mar 24     i +* Re: filling area by color atack safety2Michael S
9 Apr 24     i i`- Re: filling area by color atack safety1Tim Rentsch
9 Apr 24     i `- Re: filling area by color atack safety1Tim Rentsch
30 Mar 24     `- Re: filling area by color atack safety1Tim Rentsch

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal