[Shotwell] shotwell with 100k pics: somewhere between quite fast and too slow

oliver oliver at first.in-berlin.de
Sat Aug 13 12:11:06 UTC 2011


On Sat, Aug 13, 2011 at 01:57:35PM +0200, Andreas Brauchli wrote:
> hi oliver
> 
> what you want is probably not a debug version but a 
> profilable version.

Ah, yes.

Mixed it up.


> btw, it looks like the debug flag (-g) is passed by
> default - at least if the packager didn't turn it off.
> 
> for profiling you can use gprof to do the job by passing -X -pg to valac
> (VALAFLAGS in Makefile)

OK, fine.
"-pg" ok, yes, now I remember.

So this will produce a profile-output that I can an analyse, as if I would
do it with C, I guess.


> 
> however if you're not comfortable with c programming i would not advise
> you to do so..

I'm comfortable with C-programming, but not often used the profiler
and so I forgot some details (and the switches), which I think will be possible to find
somewhere in the manpages. And nice, that you help here.

For me, profiling and debugging go hand-in-hand, hence I messed up both terms.


> not that you could break much but it could be
> frustrating ;) at least you'd need to read up on how to use gprof

Yes. I used it - but not often, and it's many years ago.

So I forgot some switches-details.



> 
> cheers and best of luck

Thanks.

Ciao,
   Oliver




More information about the Shotwell-list mailing list