[Shotwell] Profiling Specific Actions in Shotwell

Clint Rogers clinton at yorba.org
Thu Apr 11 22:45:18 UTC 2013


Hi Joe,

That's a good idea, and it isn't a terribly intrusive change, so it should
be easy to get approved.  Let me make up a ticket for it so we can track it
the right way, but I think I can have this at least submitted for review in
a matter of minutes.

I'll start on it now.

Cheers,
-c


On 11 April 2013 18:32, Joseph Bylund <joseph.bylund at gmail.com> wrote:

>  At the risk of getting slightly off topic...
>
> The reason that I asked about profiling is that I'm experiencing terribly
> slow copy imports of raw files.  I don't think it's getting 1/second.  My
> hardware isn't top of the line but it isn't bad either.  I experience this
> behavior even if there are no photos in the library, and jpg imports are
> blinding quick.  I'll do a little more testing before opening a bug and
> I'll try to provide you with a profile, who knows maybe I'll even see an
> easy solution.
>
> Clint, any chance you could add a configure or make flag to add the
> necessary gprof flags?
>
> -Joe
>
>
> On 04/11/2013 05:57 PM, Lucas Beeler wrote:
>
>  Hi Joe,
>
>  I use sysprof (available in the Ubuntu repos). Sysprof's user interface
> has gotten worse in recent versions (namely, it's much harder to find the
> "drill down" view that shows the call stack for profiled functions), but
> sysprof has the advantage that it's a system-wide profiler and you don't
> have to do anything special to Shotwell or its Makefile to use it. My
> colleague Clint uses gprof, though this requires a little tinkering around
> in the Makefile to pass the flags gprof needs through from the Vala
> compiler to GCC. Anyway, that's my two cents!
>
>  Cheers,
>  Lucas
>
>
> On Wed, Apr 10, 2013 at 6:52 AM, Joseph Bylund <joseph.bylund at gmail.com>wrote:
>
>> There seem to be a few reasons at the moment that it would be nice to
>> profile/benchmark specific actions in shotwell (event merge, import,
>> viewing folders in sidebar).  Does anyone happen to know of a good way of
>> doing this?
>>
>> -Joe
>> _______________________________________________
>> Shotwell mailing list
>> Shotwell at lists.yorba.org
>> http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
>>
>
>
>


-- 
---------------------------
"I don't know what (b² - 4ac) equals, and I don't care," Tom said
indiscriminately.



More information about the Shotwell-list mailing list