First gtk3 results
Nick Schermer
nick at xfce.org
Wed May 16 17:37:14 CEST 2012
On 2012-05-16 05:40, Auke Kok wrote:
> On 05/15/2012 01:43 PM, Nick Schermer wrote:
>> On 2012-05-05 11:53, Nick Schermer wrote:
>>> So, Stephan and I ported libxfce4ui and xfce4-appfinder and these
>>> are
>>> the first memory results.
>>>
>>> Private + Shared = RAM used Program
>>> 5.6 MiB + 781.5 KiB = 6.3 MiB xfrun4 (gtk3)
>>> 2.8 MiB + 1.2 MiB = 4.0 MiB xfrun4 (gtk2)
>>>
>>> Private + Shared = RAM used Program
>>> 6.0 MiB + 943.0 KiB = 6.9 MiB xfce4-appfinder (gtk3)
>>> 3.1 MiB + 1.4 MiB = 4.5 MiB xfce4-appfinder (gtk2)
>>>
>>
>> Thunar is now also working in gtk3, or at least, parts of it
>> (exo-icon-view is not working). Results are more or less equal: a
>> size
>> difference of ~2.5 MiB. Independent of the number of files used.
>>
>> 7.2 MiB + 2.1 MiB = 9.3 MiB thunar (gtk3, 15 files)
>> 5.2 MiB + 1.5 MiB = 6.7 MiB thunar (gtk2, 15 files)
>>
>> 10.9 MiB + 2.1 MiB = 13.1 MiB thunar (gtk3, 1680 files)
>> 9.1 MiB + 1.5 MiB = 10.6 MiB thunar (gtk2, 1680 files)
>>
>> The shared size will also drop a bit more if we port more gtk3 apps
>> that
>> use the xfce libraries.
>>
>> Speed feels more or less the same (hard to measure that on an i7
>> ;-).
>
> can you post PSS usage?
>
> you can get Pss from /proc/<pid>/smaps. Add all the rows that start
> with Pss: up. There's a tool called 'memuse' around that does it for
> you.
Ran awk '/Pss:/{ sum += $2 } END { print sum }' /proc/$(pidof
thunar)/smaps
for Thunar gtk2 this gives 10908, for gtk3 14524
Nick
Ps, ps_mem also uses the Pss value from smaps.
More information about the Xfce4-dev
mailing list