On Thu, 8 Sep 2016 10:24:45 -0300 Felipe Magno de Almeida
<felipe.m.alme...@gmail.com> said:

> On Sep 3, 2016 12:17 PM, "Carsten Haitzler" <ras...@rasterman.com> wrote:
> >
> 
> [snip]
> 
> > Result? Cost of EOID lookup (to find the real pointer of the object) went
> from
> > 2% to 5% of CPU time.
> 
> How are you measuring? Which tool and example? I'd like to try a few things
> too, but being sure all would measure the same thing.

using perf.

sync; sync; sync;
sudo ~/s/perfrec elementary_test -to genlist
sudo chmod a+r+w perf.data
perf report --symbol-filter=_eo_obj_pointer_get --source -g --stdio | cat

and perfrec is:

#!/bin/sh
export ELM_TEST_AUTOBOUNCE=10
echo 55000 > /proc/sys/kernel/perf_event_max_sample_rate;
exec perf record --call-graph=dwarf -F 50000  $@

results will vary a bit from machine to machine. on 2 different i7's on one i
saw about 5.x, on another 5.x up to 7.x. now i actually see a fairly consistent
about 2.5 or so. well for "local id's". the shared eoid domain should have more
like the 5-7% range like above.

> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> ------------------------------------------------------------------------------
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to