Re: [Modeling-users] ec.insert() timing
Status: Abandoned
Brought to you by:
sbigaret
|
From: Yannick G. <yan...@sa...> - 2003-09-11 16:10:56
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On September 11, 2003 11:27 am, Sebastien Bigaret wrote: > >>> reduce(operator.__add__, t_kvc) > > 0.13458442687988281 > > >>> reduce(operator.__add__, t_insert) > > 199.5601282119751 > > >>> reduce(operator.__add__, t_save) > > 4.0703457593917847 > > I keep thinking about this but I can't see any reason why it > happens. BTW how many objects do you have in your EC? > (e.g. len(self.ec._uniquingTable._table)) 2 : I did all the benchmarcks from scratch > BTW did you try it on another machine? > Did you overwrote awakeFromInsertion() in your objects? I did, it was a Mandrake just like mine with the same result. I just tried on a Red Had box and the problem vanished. I can't see what is wrong with Mandrake but as soon as I find out I'll let you know. Thanks for reminding me the obvious 1st test I should have done ! =20 =2D --=20 Yannick Gingras Byte Gardener, Savoir-faire Linux inc. http://www.savoirfairelinux.com/ =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/YJ6Nrhy5Fqn/MRARAtueAJ9gGMBdLSsvV+3yzS/cYpirXpANNACfeCEy =46XUfecc+EXkx9100rzfM0MQ=3D =3DkDyE =2D----END PGP SIGNATURE----- |