Speed of horizontal flip
tchaloupka via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Apr 1 09:26:44 PDT 2015
On Wednesday, 1 April 2015 at 14:00:52 UTC, bearophile wrote:
> tchaloupka:
>
>> Am I doing something utterly wrong?
>
> If you have to perform performance benchmarks then use ldc or
> gdc.
>
I tried it on my slower linux box (i5-2500K vs i7-2600K) without
change with these results:
C# (mono with its own GDI+ library):
Img loaded in 108[ms]
Img flipped in 22[ms]
Img saved in 492[ms]
dmd-2.067:
Png loaded in: 150[ms]
Img flipped in: 28[ms]
Png saved in: 765[ms]
gdc-4.8.3:
Png loaded in: 121[ms]
Img flipped in: 4[ms]
Png saved in: 686[ms]
ldc2-0_15:
Png loaded in: 106[ms]
Img flipped in: 4[ms]
Png saved in: 610[ms]
I'm ok with that, thx.
More information about the Digitalmars-d-learn
mailing list