ARSD PNG memory usage

Guillaume Piolat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 29 08:14:31 PDT 2016


On Tuesday, 16 August 2016 at 16:40:30 UTC, Adam D. Ruppe wrote:
> On Tuesday, 16 August 2016 at 16:29:18 UTC, Guillaume Piolat 
> wrote:
>> Hey, I also stumbled upon this with imageformats decoding PNG. 
>> Image loading makes 10x the garbage it should.
>> Let's see what this threads unveils...
>
> leet me know how it is now

So I made a small benchmark for testing PNG loading in D
   * dplug.gui.pngload ( = stb_image): 134ms / 4.4mb memory
   * arsd.png: 118ms / 7mb memory
   * imageformats: 108ms / 13.1mb memory

Compiler: ldc-1.0.0-b2, release-nobounds build type


More information about the Digitalmars-d-learn mailing list