-----Original Message-----
From: Marcin Zaj?czkowski <msz...@wp.pl>
To: geeqie-devel@lists.sourceforge.net
Date: Sun, 12 Jul 2009 22:33:02 +0200
Subject: Re: [Geeqie-devel] [PATCH] Multithreaded image loading

(...)
> 
> Thanks for this patch, Bartek!
> I patched rev. 1796 and Geeqie compiled fine. I gave it a try with
> MAX_THREADS set to 3 and 4 (on CPU with 2 cores) and it seems to run a
> little bit faster. Unfortunately it's hard to say if its mentioned
> 185%. Is there an easy way to make some benchmark?

You can clean the thumbs cache and run geeqie from commandline under `time`
with directory that contains a lot of big photos as a param... and watch the 
progress
bar to close app when thumbnails are done.
I measured it more precisely by adding exit(0) in code when end of the list of 
files
is reached.

> Besides thumbnails in the main list should I expect to have main image
> loaded (and shown) almost 2x faster (for no cached images)?  Or the
> second (cached) image should be loaded faster?

Main photo is loaded simultanously with first thumbs and only this. It doesn't 
load faster,
since it is still processed by only one CPU.
And I havent touched the prefetching mechanism too, but here is something to do.

> 
> 
> Regards
> Marcin
> 
> 
> 

--
bart


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to