Hi, Thanks for reply. It completes with correct results. I am gonna send you a stripped version of scrips in a private message.
Pawel. On Tuesday, 21 July 2015 18:06:59 UTC+2, Michael Bayer wrote: > > > > On 7/21/15 7:32 AM, Paweł Piotr Przeradowski wrote: > > Hi, > > First of all thanks for alembic which is great asset to have in your > development toolbelt. > > I am experiencing large slowdowns when generating offline or doing online > migrations or even generating history. One of the CPU cores stays at 100% > for a large number of seconds. > > I have 141 migrations > 32 branchpoints and 40 merges > > > > The hardware is: > Intel® Core™ i7-4510U CPU @ 2.00GHz × 4 > with 8 GB of RAM > > > > Each time I do a merge the time seems to grows. It looks to me that > alembic spends a lot of time calculating some dependency tree. Some timings > on commands *minutes:seconds*: > > > alembic history 1:31.57 total > > > alembic downgrade head:325b273d61bd --sql 1:24.10 total // This just > targets one migration > > > Is this a known problem? Any way I can speed it up? > > > not known at all, and it is likely a bug in the algorithm, but it's very > weird that it comes up with an answer, rather than just going into a > recursion overflow. it comes up with the right answer? can you supply > your full migration script structure in a .tar.gz archive ? Just the > scripts with the headers in them, I don't need the "upgrade()" or > "downgrade()" methods to be filled in. thanks. > > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy-alembic" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy-alembic+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.