[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-devel
Subject:    [Gallery-devel] Re: [Gallery-core] GalleryMips
From:       "Andy Staudacher" <andress () ee ! ethz ! ch>
Date:       2004-08-26 10:16:04
Message-ID: 000201c48b55$b227a480$737ba8c0 () valiant
[Download RAW message or body]

> Bharat wrote:
> Hm.  Right now I use a complete unit test run as my benchmark 
> for how G2 performs. [...]
> I figure that's a pretty good metric since it's running through the
bulk 
> of the G2 code as well as exercising the database and the filesystem.
I 
> think that it would be fun to make a benchmarking module like this for

> us to compare numbers, but I'm not sure what kind of metrics we'd want

> to use for the comparison.  Maybe we could create an album with 50 
> images in it, then call a layout's render method on the 
> various pieces to get performance numbers. [...]
> 
> -Bharat

We need definitely more than 50 items in the album to give the database
performance enough weight. Some queries have a complexity of O(a*b*c)
(parallelepipedial product), or at least this was the case before alpha
and the first "performance release".
Even if there are no such queries anymore, the caches get slower with
the size.
So why not use at least real world numbers (20 albums, some are nested,
2000 items).
This shows that this benchmark can't be done within a simple unit test
as it takes too much time.
And what modules are part of the GalleryMips? 

Cheers - Andy



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic