On 11/30/06, Sébastien LELONG <[EMAIL PROTECTED]> wrote: > So, SA 0.2.8 is, in my case, approx. 6-7 times faster than SA 0.3.1. > The test is exactly the same (same test fixtures, same database, same > libs, ...), except SA lib version. Both extraction and storage are slower. > > FWIW, the data model is quite simple for both databases. There is no relations > declared as a mapper's property. I'm using inheritance (polymorphic) while > storing built objects. The whole is running using MySQL database. While > extracting data (step 1), ~ 120 000 objects are extracted (bunch of 6000 > objects per cycle). During storage (step 3), ~5000 objects are stored (bunch > 200 objects per cycle). I'm using DynamicMetadata to bind tables and the > threadlocal plugin.
It sounds like it would be useful to time steps 1-3 independantly to narrow down where the problem is. (CCing to the new mailing list -- we moved off of sf because of frequent downtime.) -- Jonathan Ellis http://spyced.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
