On 15/09/13 05:24 AM, Pascal Obry wrote:
>
> I have recently imported all my pictures and have a bit more than 35000.
> I found that the lighttable is a bit sluggish.
>
> Even when I move the mouse over a collection of 30 pictures there is a
> slight delay before the picture under the cursor is highlighted.
>
> I thought it was maybe because I have lot of tags now. But removing all
> the tags, emptying tagxtag and tagged_images does not help.
>
> So, there seem to be something happening in the lighttable but I cannot
> point to it.
>
> What's the best way to check for performance issues? Is there a switch?
> Any idea to where I should be looking at first?
>
> Any hint appreciated...

The snark in me suggests that if you were running the Solaris version
of darktable, you could use DTrace to find out the function(s) which
is/are taking the longest amount of time. ;-)

I still think it's worthwhile looking at the SQL that's being run
when you mouseover. Even if the queries are returning null for tags,
they might still be being constructed inefficiently.

I'd start by running darktable with  -d sql   and dumping that output
to a file (it'll be *large*), and then seeing if you can narrow down
the UI experience to a particular query.

There's also gprof, which might go some way towards helping the
investigation as well.


Are you seeing this with a release version,or git master?



James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
               http://www.jmcpdotcom.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to