From: Paul R. <pr...@ib...> - 2008-06-26 06:19:34
|
On Thursday 26 June 2008, Adam Gardner wrote: > > To get an honest profile, use two copies of the database (as two > different aliases). Run one test against one database and the other > against the other database. > Agreed. Perhaps even restarting Firebird in between. I would also suggest running the tests say, five times, and taking an average. It is reasonable to assume that under most usage scenarios that some or all of the data will already be in the cache anyway. It might also be interesting (and very quick to verify) to just reverse the order of the tests. On the evidence presented it looks like the second test is benefiting from the cache created by the first test. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support |