[Scummvm-devel] RE : Re: RE : Re: RE : Re: Memory/speed loss in scumm engine

Thierry Crozat thierry.crozat at ntlworld.com
Wed Apr 2 21:32:25 CEST 2008


I did some memory usage analysis between version 0.11.1 and the SVN  
code from March 8 on MacOS X (x86). I sent a mail on March 10 but I  
was away and apparently sourceforge didn't like the header generated  
by my ISP webmail service (the mail was classified as spam).

Basically the result was that version from March 8 uses slightly less  
memory at any given time and allocate less total memory during its  
life span than version 0.11.1 on MacOS X. Looking more in details at  
the memory usage nothing stroked me as obviously wrong. The memory is  
used by the same objects in approximately the same quantity in the  
two versions (there are some small variations but if there was a 854  
kb additional memory used somewhere I think I would have seen it).
AlsoI dind't see any memory leaks when using only the launcher.

I did the comparison by compiling myself the two versions using the  
same configure options (--enable-debug was the only one I think).
It seems the issue is not happening on all platforms (which confirm  
what Max wrote).

Thierry

Le 2 avr. 08 à 13:53, Bertrand Augereau a écrit :

> Most intriguing indeed.
>
> Neil, could you please post the 2 linker mapfiles of
> the 2 different revisions for a bit of analysis?
>
> Bertrand
>
> --- Max Horn <max at quendi.de> a écrit :
>
>> Am Mi, 2.04.2008, 10:42, schrieb Bertrand Augereau:
>>> Oh ok, didn't get that it was a sure thing the
>> bloat
>>> was in the common code.
>>> Maybe somebody could try to see if the bloat
>> impacts
>>> another platform between these 2 revisions, it
>> would
>>> make the variation easier to track.
>>> I can probably do it tonight (in 10/12 hours), if
>>> nobody does it before.
>>>
>>
>> I did check between revs 30345 (2008-01-06 15:04:18
>> +0100) and 30500
>> (2008-01-15 21:11:28 +0100), on a Debian x86 box. No
>> unusual diffs in the
>> size of both the stripped and unstripped binaries.
>> All made by running
>> "./configure" (only default engines, debug mode, not
>> release mode, etc.)
>> followed by "make clean && make all".
>>
>> Here a shortened output of ls -l:
>>
>> 25740673 Apr  2 13:28 scummvm-rev30300*
>>  6958728 Apr  2 13:28 scummvm-rev30300-stripped*
>> 25734194 Apr  2 12:58 scummvm-rev30345*
>>  6958728 Apr  2 12:58 scummvm-rev30345-stripped*
>> 25771848 Apr  2 13:14 scummvm-rev30400*
>>  6961672 Apr  2 13:14 scummvm-rev30400-stripped*
>> 25782050 Apr  2 13:16 scummvm-rev30420*
>>  6965480 Apr  2 13:16 scummvm-rev30420-stripped*
>> 25782110 Apr  2 13:20 scummvm-rev30440*
>>  6965480 Apr  2 13:20 scummvm-rev30440-stripped*
>> 25756521 Apr  2 13:25 scummvm-rev30500*
>>  6965512 Apr  2 13:25 scummvm-rev30500-stripped*
>>
>>
>> Bye,
>> Max
>>
>>
> ---------------------------------------------------------------------- 
> ---
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ 
> marketplace
>> _______________________________________________
>> Scummvm-devel mailing list
>> Scummvm-devel at lists.sourceforge.net
>>
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
>>
>
>
>
>        
> ______________________________________________________________________ 
> _______
> Envoyez avec Yahoo! Mail. Plus de moyens pour rester en contact.  
> http://mail.yahoo.fr
>
> ---------------------------------------------------------------------- 
> ---
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ 
> marketplace
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel





More information about the Scummvm-devel mailing list