I ran 'darktable -d perf -d lighttable' to get the lighttable output and sent it to a text file, opened up darktable and moved the cursor around a bit, parsed the file to grab the lines with the total time, '[lighttable] expose took #.#### sec', and output the maximum and mean times listed. Here are some results.
1. 54 pictures, all default settings -> max 0.14, average 0.07 2. Same library, turn off color managed thumbnails -> max 0.12, average 0.033 3. Same library, turn on color managed thumbnails, run 'darktable-generate-cache -m 7' -> max 0.15, average 0.09 4. Reset darktable (remove ~/.cache/darktable and ~/.config/darktable), import just 5 pictures, then run the same test -> max 0.04, average 0.01 It feels like the timing with the first tests is greater than 0.14 seconds, but my feeling is probably wrong. Regardless, it is *very* noticeable and the test does support my observations that turning off color managed thumbnails improves the response a little bit, but not drastically and that the response time is great with just 5 pictures instead of ~50 pictures. I also tried playing with the option 'memory in megabytes to use for the thumbnail cache' and the two memories related to tiling, but neither seemed to have any noticeable effect. Are there any other tests I can do to help debug this? Darktable is great, but it is rather frustrating to use like this. -Scott On Mon, Jan 18, 2016 at 11:32 PM, johannes hanika <hana...@gmail.com> wrote: > heya, > > sounds worrying, i'd like to get to the bottom of this. > > i guess the long term best solution would be to instruct cairo to only > expose whatever thumbnails are changed when moving around with the > mouse (but i tried quickly, it's not trivial to do and still work with > all features). > > darktable -d perf -d lighttable > > is what you want to use to get timings for lighttable btw. > > -jo > > On Tue, Jan 19, 2016 at 5:45 PM, Scott <spectre...@gmail.com> wrote: >> Hello all, >> >> I'm having an issue since upgrading to Darktable 2.0 (Pascal's PPA). >> When in lighttable, if I just move my cursor around it takes ~1/3 >> second before the thumbnail under the cursor is highlighted and the >> "image information" updates to it. Searching the bug tracker and >> archives show that I'm not the only one with this issue, but I haven't >> seen any fixes for it. A couple references: >> http://redmine.darktable.org/issues/10764 >> http://sourceforge.net/p/darktable/mailman/message/34654461/ >> >> I have: >> - Ubuntu 14.04 LTS >> - 16 GB of RAM >> - GeForce GTX 650 Ti BOOST (proprietary drivers, ) >> - Intel Core i5-3570K (4 cores @ 3.40Ghz) >> - All photos in my library are Canon CR2 >> - 27" monitor (Dell U2713HM) is calibrated using dipcalGUI and set to >> 2560x1440 resolution >> >> The first few things I've tried: >> - Running darktable-generate-cache >> - Running with '-d perf' (but it doesn't print anything when I simply >> move the mouse around the screen) >> - Changing the number of background threads >> - Running with and without OpenCL >> - Turning off color managed cache (this gave a slight improvement, but >> still much slower than DT 1.6.9) >> >> I then deleted ~/.cache/darktable and ~/.config/darktable, and >> imported only 5 pictures and the response time seemed very quick. I >> then added a folder (50 images) and the response time lagged again. I >> also noticed that it seems to depend on how zoomed in the images are >> in lighttable. If I zoom out so the thumbnails are very small, then >> the response time is good. As I zoom the thumbnails larger, this >> response time gets worse and worse. 5 images across the screen seems >> to be the worst, and then as I zoom in even closer it gets slightly >> better. >> >> I then imported some more pictures so that I have nearly 200 in the >> database/cache. Now even when lighttable is zoomed as as far as >> possible, the response time is very slow. >> >> Possible output request: >> $ ldd `which darktable` | grep gomp >> libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007fa6da138000) >> >> Does anyone have any other recommendations to try? >> >> Thanks, >> Scott >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> _______________________________________________ >> Darktable-users mailing list >> Darktable-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/darktable-users ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users